diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2020-03-24 17:21:55 +0900 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2020-03-24 17:21:55 +0900 |
| commit | 12a3671a9bfb6d6d9bd358ee453b3f21e66d3092 (patch) | |
| tree | a8410a90faa159dae0e5c980edaa62ddd6620774 /spec/ruby/core | |
| parent | 96064e6f1ce100a37680dc8f9509f06b3350e9c8 (diff) | |
test/rubygems: Try not only /usr/bin/env but also /bin/env
RubyGems chooses available one from the two: /usr/bin/env or /bin/env
https://github.com/rubygems/rubygems/blob/20b0d609484df2b514954ba9ef890a7cbdd01d18/lib/rubygems/installer.rb#L38
So, it is good not to hard-code /usr/bin/env in tests.
This is a retry of 65201c054a90c8e7beb8fe1e6d0006541ac33449 which was
accidentally deleted by 96064e6f1ce100a37680dc8f9509f06b3350e9c8
Diffstat (limited to 'spec/ruby/core')
0 files changed, 0 insertions, 0 deletions
