From d24f8a5479398eea39714b70d0929f5e82ac92c7 Mon Sep 17 00:00:00 2001 From: Shiv Gautam Date: Wed, 10 Jan 2024 07:19:02 +0000 Subject: [PATCH] chore(main): fix for tests failing because of bundler change --- .kokoro/system_tests.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.kokoro/system_tests.sh b/.kokoro/system_tests.sh index 37d491ef4..d24c07535 100755 --- a/.kokoro/system_tests.sh +++ b/.kokoro/system_tests.sh @@ -17,7 +17,11 @@ source $KOKORO_GFILE_DIR/secrets.sh cd github/ruby-docs-samples/ # Install tools -gem install --no-document toys +if [[ $KOKORO_RUBY_VERSION == "newest" ]]; then + gem install --no-document bundler toys +else + gem install --no-document bundler:2.2.2 toys +fi # Run the CI script toys kokoro-ci -v