Fixed Ruby tests to pin Bundler to a version compatible with Ruby 2.7.

pull/15149/head
Joshua Haberman 11 months ago
parent 7c123c40e2
commit c5a30e7fb3
  1. 2
      kokoro/linux/aarch64/ruby_build_and_run_tests_with_qemu_aarch64.sh
  2. 6
      kokoro/release/ruby/macos/ruby/ruby_build_environment.sh

@ -5,7 +5,7 @@ set -ex
# go to the repo root
cd $(dirname $0)/../../..
gem install bundler
gem install bundler -v 2.4.22
cd ruby

@ -21,15 +21,15 @@ set -e # rvm commands are very verbose
time rvm install 2.5.0
rvm use 2.5.0
gem install rake-compiler --no-document
gem install bundler --no-document
gem install bundler -v 2.4.22 --no-document
time rvm install 3.1.0
rvm use 3.1.0
gem install rake-compiler --no-document
gem install bundler --no-document
gem install bundler -v 2.4.22 --no-document
time rvm install 2.7.0
rvm use 2.7.0 --default
gem install rake-compiler --no-document
gem install bundler --no-document
gem install bundler -v 2.4.22 --no-document
rvm osx-ssl-certs status all
rvm osx-ssl-certs update all
set -ex

Loading…
Cancel
Save