Skip to content

Commit 9827619

Browse files
committed
ci: pin to a version of bundler that works across supported rubies
1 parent 83a2571 commit 9827619

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/test-gem-install

+1-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ if [ -n "${BUNDLE_APP_CONFIG:-}" ] ; then
2929
export BUNDLE_CACHE_PATH="${BUNDLE_APP_CONFIG}/cache"
3030
fi
3131

32-
# 2.3.21 because https://github.com/rubygems/rubygems/issues/5914
33-
# 2.3.22 because https://github.com/rubygems/rubygems/issues/5940
34-
gem install bundler -v "~> 2.2, != 2.3.21, != 2.3.22"
32+
gem install bundler -v "2.4.22" # should work fine on ruby 2.7 and above
3533
bundle install --local || bundle install
3634

3735
rm -rf lib ext # ensure we don't use the local files

0 commit comments

Comments
 (0)