utils/ruby: set HOMEBREW_BOOTSNAP_GEM_PATH after Ruby install.
This should ensure it's set to the correct path.
This commit is contained in:
parent
568b707bc9
commit
020a30caa7
@ -127,15 +127,15 @@ If there's no Homebrew Portable Ruby available for your processor:
|
||||
if [[ -x "${vendor_ruby_path}" ]]
|
||||
then
|
||||
HOMEBREW_RUBY_PATH="${vendor_ruby_path}"
|
||||
HOMEBREW_BOOTSNAP_GEM_PATH="$(
|
||||
shopt -s nullglob
|
||||
echo "${vendor_ruby_root}"/lib/ruby/gems/*/gems/bootsnap-*/lib/bootsnap 2>/dev/null
|
||||
)"
|
||||
TERMINFO_DIRS="${vendor_ruby_terminfo}"
|
||||
if [[ "${vendor_ruby_current_version}" != "${HOMEBREW_PORTABLE_RUBY_VERSION}" ]]
|
||||
then
|
||||
brew vendor-install ruby || odie "${upgrade_fail}"
|
||||
fi
|
||||
HOMEBREW_BOOTSNAP_GEM_PATH="$(
|
||||
shopt -s nullglob
|
||||
echo "${vendor_ruby_root}"/lib/ruby/gems/*/gems/bootsnap-*/lib/bootsnap 2>/dev/null
|
||||
)"
|
||||
else
|
||||
if system_ruby_supported
|
||||
then
|
||||
|
Loading…
x
Reference in New Issue
Block a user