aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorMartin Afanasjew2016-01-05 01:09:54 +0100
committerMartin Afanasjew2016-01-06 06:21:42 +0100
commit8dc1e05ff87d22f37261945e465cea23b1343c2c (patch)
treeabff3bbadf6d311161934b23657fc535a5e0c358 /Library/Homebrew/dev-cmd
parent35c58faa192f8c1727cdd49aa55d2fb3114d31bc (diff)
downloadbrew-8dc1e05ff87d22f37261945e465cea23b1343c2c.tar.bz2
utils: inject Ruby path when running Gems
Particularly the `bundler` Gem requires the right Ruby binary to be in the PATH to work correctly if the Ruby binary used to run Homebrew is overridden via `HOMEBREW_RUBY_PATH` and thus intentionally not prefixed to the PATH (as that would affect formulae with a Ruby dependency). The workaround here is to prefix this path only when a Gem is activated via `Homebrew.install_gem_setup_path!` (currently used in `brew man`, `brew style`, and `brew tests`).
Diffstat (limited to 'Library/Homebrew/dev-cmd')
0 files changed, 0 insertions, 0 deletions