utils/ruby.sh: try installing portable Ruby ...

when no usable Ruby is found.
This commit is contained in:
Maxim Belkin 2020-05-15 15:12:20 -05:00
parent 44ef1abd1f
commit f7e0705164
No known key found for this signature in database
GPG Key ID: AC71560D4C5F2338

View File

@ -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