Merge pull request #4508 from MikeMcQuaid/portable-ruby-remove-cache

ruby.sh: remove linkage cache on upgrade.
This commit is contained in:
Mike McQuaid 2018-07-18 14:58:44 +01:00 committed by GitHub
commit 41680cd239
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ setup-ruby-path() {
then
odie "Failed to install vendor Ruby."
fi
rm -rf "$vendor_dir/bundle/ruby"
rm -rf "$vendor_dir/bundle/ruby" "$HOMEBREW_CACHE/linkage.db"
HOMEBREW_RUBY_PATH="$vendor_ruby_path"
fi
fi