Update Xcode version needed to run Kokoro tests and replace deprecated rubygem options (#6890)

* Update Xcode version needed to run Kokoro tests

* Replace deprecated --no-ri --no-rdoc rubygem options with --no-document
pull/6891/head
Rafi Kamal 5 years ago committed by GitHub
parent 601f6963eb
commit bb0c543934
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      kokoro/macos/prepare_build_macos_rc
  2. 5
      kokoro/release/ruby/macos/ruby/ruby_build_environment.sh

@ -5,10 +5,11 @@
##
# Select Xcode version
# Remember to udpate the Xcode version when xcode_9.4.1 is not available.
# Remember to udpate the Xcode version when Xcode_11.0.app is not available.
# If xcode is not available, it will probaly encounter the failure for
# "autom4te: need GNU m4 1.4 or later: /usr/bin/m4""
export DEVELOPER_DIR=/Applications/Xcode_9.4.1.app/Contents/Developer
# "autom4te: need GNU m4 1.4 or later: /usr/bin/m4"
# go/kokoro/userdocs/macos/selecting_xcode.md for more information.
export DEVELOPER_DIR=/Applications/Xcode_11.0.app/Contents/Developer
##
# Select C/C++ compilers

@ -7,8 +7,8 @@ source $HOME/.rvm/scripts/rvm
set -e # rvm commands are very verbose
time rvm install 2.5.0
rvm use 2.5.0 --default
gem install rake-compiler --no-ri --no-doc
gem install bundler --no-ri --no-doc
gem install rake-compiler --no-document
gem install bundler --no-document
rvm osx-ssl-certs status all
rvm osx-ssl-certs update all
set -ex
@ -54,4 +54,3 @@ done
sed 's/x86_64-darwin-11/universal-darwin/' ~/.rake-compiler/config.yml > "$CROSS_RUBY"
mv "$CROSS_RUBY" ~/.rake-compiler/config.yml

Loading…
Cancel
Save