Skip to content

Add step to install right bundler version

Stan Hu requested to merge sh-install-ruby-bundler into master

This will help the transition from Ruby 2.6 to 2.7:

  1. When a Ruby 2.6 interpreter is installed, bundle install will fail if Gemfile.lock is using bundler v2.1.4.

  2. When a Ruby 2.7 interpreter is installed, bundle install will fail if Gemfile.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

Merge request reports