Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
brew: ensure full path for HOMEBREW_RUBY_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
xu-cheng committed Nov 20, 2015
1 parent 8d39d81 commit da30cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/brew
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit da30cc8

Please sign in to comment.