Browse Source

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
Rafi Kamal 5 years ago
parent
commit
bb0c543934

+ 5 - 4
kokoro/macos/prepare_build_macos_rc

@@ -5,10 +5,11 @@
 ##
 ##
 # Select Xcode version
 # Select Xcode version
 
 
-# Remember to udpate the Xcode version when xcode_9.4.1 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
+# 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"
+# go/kokoro/userdocs/macos/selecting_xcode.md for more information.
+export DEVELOPER_DIR=/Applications/Xcode_11.0.app/Contents/Developer
 
 
 ##
 ##
 # Select C/C++ compilers
 # Select C/C++ compilers

+ 2 - 3
kokoro/release/ruby/macos/ruby/ruby_build_environment.sh

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