aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/brew.sh
diff options
context:
space:
mode:
authorMike McQuaid2017-05-07 15:33:54 +0100
committerMike McQuaid2017-05-07 15:33:54 +0100
commit33f83be10e5256ce628cb128f25d0a9f399d37ef (patch)
tree1f2f4ad3d7376208bf280486474e62293c43f204 /Library/Homebrew/brew.sh
parent3e4547f52e7ebec633f8bfefc8a396d944edf908 (diff)
downloadbrew-33f83be10e5256ce628cb128f25d0a9f399d37ef.tar.bz2
Tweak Gem vendoring.
If people have `HOMEBREW_RUBY_PATH` set then things explode in a rather confusing fashion. Instead, run `bundle` for them with the arguments that they'd want. Also, move `macho` requires into the module itself; it's a pain having to do everything for Bundler before requiring `pathname` which is a core Ruby class.
Diffstat (limited to 'Library/Homebrew/brew.sh')
-rw-r--r--Library/Homebrew/brew.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/Library/Homebrew/brew.sh b/Library/Homebrew/brew.sh
index 02ce5e1c1..6f4453f28 100644
--- a/Library/Homebrew/brew.sh
+++ b/Library/Homebrew/brew.sh
@@ -69,10 +69,6 @@ then
odie "Cowardly refusing to continue at this prefix: $HOMEBREW_PREFIX"
fi
-# Save value to use for installing gems
-export GEM_OLD_HOME="$GEM_HOME"
-export GEM_OLD_PATH="$GEM_PATH"
-
# Users may have these set, pointing the system Ruby
# at non-system gem paths
unset GEM_HOME