Skip to content

Commit

Permalink
ci: pin to a version of bundler that works across supported rubies
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Mar 16, 2024
1 parent 83a2571 commit 9827619
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/test-gem-install
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ if [ -n "${BUNDLE_APP_CONFIG:-}" ] ; then
export BUNDLE_CACHE_PATH="${BUNDLE_APP_CONFIG}/cache"
fi

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

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

0 comments on commit 9827619

Please sign in to comment.