Skip to content

Commit 479b4bb

Browse files
cipolleschifacebook-github-bot
authored andcommitted
Install bundler versions depending on Ruby version (#41962)
Summary: Since yesterday evening (why it is always friday evening???) CircleCI or Gem decided to update the default bundler version that is installed with `gem bundle install`. Therefore, CI for iOS stopped working. This change installs bundler's versions so that they are compatible with the Ruby version. ## Changelog: [Internal] - Fix CI for iOS installing versions of bundler that are compatible with Ruby Pull Request resolved: #41962 Test Plan: CircleCI is green Reviewed By: GijsWeterings Differential Revision: D52230544 Pulled By: cipolleschi fbshipit-source-id: 2f96e16ecb94159953056e8de757ea4d249f80f0
1 parent b221265 commit 479b4bb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.circleci/configurations/commands.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,11 @@ commands:
5757
5858
# Set ruby dependencies
5959
rbenv global << parameters.ruby_version >>
60-
gem install bundler
60+
if [[ << parameters.ruby_version >> == "2.6.10" ]]; then
61+
gem install bundler -v 2.4.22
62+
else
63+
gem install bundler
64+
fi
6165
bundle check || bundle install --path vendor/bundle --clean
6266
- save_cache:
6367
key: *rbenv_cache_key

0 commit comments

Comments
 (0)