Skip to content

Commit

Permalink
utils/ruby.sh: try installing portable Ruby ...
Browse files Browse the repository at this point in the history
when no usable Ruby is found.
  • Loading branch information
maxim-belkin committed May 15, 2020
1 parent 44ef1ab commit f7e0705
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Library/Homebrew/utils/ruby.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ If there's no Homebrew Portable Ruby available for your processor:
then
if [[ $old_ruby_usable != true ]]
then
odie "Failed to find usable Ruby $required_ruby_version!$advice"
onoe "Failed to find usable Ruby $required_ruby_version!"
unset HOMEBREW_RUBY_PATH
else
HOMEBREW_RUBY_PATH="$old_ruby_path"
fi
Expand Down

0 comments on commit f7e0705

Please sign in to comment.