ruby.sh: remove linkage cache on upgrade.
This may not be compatible between portable ruby versions and between portable and system ruby versions. Fixes #4485.
This commit is contained in:
parent
af11c6581a
commit
f2d823445e
@ -47,7 +47,7 @@ setup-ruby-path() {
|
|||||||
then
|
then
|
||||||
odie "Failed to install vendor Ruby."
|
odie "Failed to install vendor Ruby."
|
||||||
fi
|
fi
|
||||||
rm -rf "$vendor_dir/bundle/ruby"
|
rm -rf "$vendor_dir/bundle/ruby" "$HOMEBREW_CACHE/linkage.db"
|
||||||
HOMEBREW_RUBY_PATH="$vendor_ruby_path"
|
HOMEBREW_RUBY_PATH="$vendor_ruby_path"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user