diff options
| author | Xu Cheng | 2015-11-20 19:52:19 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-11-20 19:52:19 +0800 |
| commit | aeb8aad1e046ad63886a77af3c3b234c83fae50c (patch) | |
| tree | c026bce37870f3373a638f9ceeda4e0bc4657d3e /bin | |
| parent | f5104a7946e9b0244b3a42a840fb2ecfacb8da5a (diff) | |
| download | brew-aeb8aad1e046ad63886a77af3c3b234c83fae50c.tar.bz2 | |
brew: ensure full path for HOMEBREW_RUBY_PATH
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ if [ -z "$HOMEBREW_RUBY_PATH" ]; then if [ "$BREW_SYSTEM" = "darwin" ]; then export HOMEBREW_RUBY_PATH="/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby" else - export HOMEBREW_RUBY_PATH="ruby" + export HOMEBREW_RUBY_PATH="$(which ruby)" fi fi |
