infrastructure-as-code-tutorial icon indicating copy to clipboard operation
infrastructure-as-code-tutorial copied to clipboard

Install bundler with specified version instead of latest

Open vietpham123 opened this issue 4 years ago • 0 comments

The current script pulls down the latest version and does not take into account that the Gem file calls for a specific version, and will not compile properly. A tweak to the installation of bundler must be done to get the right version:

replace:

gem install --no-rdoc --no-ri bundler

With:

gem install bundler -v "$(grep -A 1 "BUNDLED WITH" ~/raddit/Gemfile.lock | tail -n 1)"

vietpham123 avatar Aug 19 '21 20:08 vietpham123