Skip to content

Commit 5ef88f1

Browse files
Run updated rubygems and bundler on Ruby 3.1+
Co-authored-by: Peter Goldstein <[email protected]>
1 parent 27dbee1 commit 5ef88f1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ci/script/update_rubygems_and_install_bundler

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
set -e
33
source script/functions.sh
44

5-
if is_ruby_23_plus; then
5+
if is_ruby_31_plus; then
6+
echo "Installing rubygems 3.3.6 / bundler 2.3.6"
7+
yes | gem update --system '3.3.6'
8+
yes | gem install bundler -v '2.3.6'
9+
elif is_ruby_23_plus; then
10+
echo "Installing rubygems 3.2.22 / bundler 2.2.22"
611
yes | gem update --system '3.2.22'
712
yes | gem install bundler -v '2.2.22'
813
else

0 commit comments

Comments
 (0)