Resolve kokoro build failure for CocoaPods builds. (#9306)

this PR uninstalls the rubygems-bundler which is not needed anymore and causing build failures. See more details in tracking bug https://github.com/material-components/material-components-ios/issues/9305
This commit is contained in:
Yarden Eitan 2019-12-19 16:41:40 -05:00 committed by featherless
parent c5f7118b13
commit 2221bb6cc0

View File

@ -21,6 +21,10 @@ gem_update() {
gem_install() {
gem_update
gem install "$@" --no-document --quiet
# We need to uninstall this due to the release of RubyGems 3.1.0
# See a way in future to not need to uninstall this every time.
# tracking bug: https://github.com/material-components/material-components-ios/issues/9305
gem uninstall -i /Users/kbuilder/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0 rubygems-bundler
}
brew_update() {