Add step to install right bundler version
This will help the transition from Ruby 2.6 to 2.7:
-
When a Ruby 2.6 interpreter is installed,
bundle install
will fail ifGemfile.lock
is using bundler v2.1.4. -
When a Ruby 2.7 interpreter is installed,
bundle install
will fail ifGemfile.lock
is using bundler v1.17.3.
To smooth the transition, we install the version of bundler needed by
Gemfile.lock
.
Edited by Stan Hu