ruby.sh: cleanup gems on portable Ruby installation.

This avoids `brew style` and friends from getting upset when they
attempt to use the native gem extensions from a previous portable Ruby
or a system Ruby.

ABI? What's that?
This commit is contained in:
Mike McQuaid 2018-07-13 14:37:12 +01:00
parent fed404b9be
commit 9b86ff6214

View File

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