Skip to content

Commit bc3df4a

Browse files
committed
uninstall unwanted bundler upgrade in CI
1 parent 0990dad commit bc3df4a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.circleci/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ jobs:
8080
if [[ $i == jruby* ]]; then
8181
gem install jruby-openssl; # required by bundler, no effect on Ruby MRI
8282
fi
83+
# bundler 2.0 may be preinstalled, we need to remove it if so
84+
yes | gem uninstall bundler --version '>=2.0' || true;
8385
gem install bundler -v "~> 1.7";
8486
bundle install;
8587
mv Gemfile.lock "Gemfile.lock.$i"

0 commit comments

Comments
 (0)