mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
brew: ensure full path for HOMEBREW_RUBY_PATH
This commit is contained in:
parent
f5104a7946
commit
aeb8aad1e0
2
bin/brew
2
bin/brew
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user