diff options
| author | Martin Afanasjew | 2015-11-19 05:37:07 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-11-20 14:00:45 +0000 |
| commit | fde1614670201e4a7f41522b507c0a3a6a7f8c46 (patch) | |
| tree | a7191cee66581557b1093794485b930429dcecb6 /Library/Homebrew/cmd | |
| parent | aeb8aad1e046ad63886a77af3c3b234c83fae50c (diff) | |
| download | brew-fde1614670201e4a7f41522b507c0a3a6a7f8c46.tar.bz2 | |
utils: native rewrite of install_gem_setup_path!
Setting the environment variable `HOMEBREW_RUBY_PATH` allows one to run
Homebrew with a non-standard Ruby, even one that is not in `PATH`. This
creates the problem that the `gem` in `PATH` might not be the right one
to call, possibly leading to confusing results as the wrong RubyGems
installation is queried/manipulated.
Closes Homebrew/homebrew#46185.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/cmd')
0 files changed, 0 insertions, 0 deletions
