utils/ruby.sh: try installing portable Ruby ...
when no usable Ruby is found.
This commit is contained in:
parent
44ef1abd1f
commit
f7e0705164
@ -64,7 +64,8 @@ If there's no Homebrew Portable Ruby available for your processor:
|
|||||||
then
|
then
|
||||||
if [[ $old_ruby_usable != true ]]
|
if [[ $old_ruby_usable != true ]]
|
||||||
then
|
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
|
else
|
||||||
HOMEBREW_RUBY_PATH="$old_ruby_path"
|
HOMEBREW_RUBY_PATH="$old_ruby_path"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user