I want to install bundler with a specific version written in Gemfile.lock
. Do you know how to do it? I want to let ci like Jenkins automatically install bundler of the version.
BUNDLED WITH
1.13.5
I want to install bundler with a specific version written in Gemfile.lock
. Do you know how to do it? I want to let ci like Jenkins automatically install bundler of the version.
BUNDLED WITH
1.13.5
You might try a bit of shell scripting: gem install bundler -v $(tail -n1 Gemfile.lock)
Probably a bit late to the party, but bundler 2.3 does this for you by default. See https://bundler.io/blog/2022/01/23/bundler-v2-3.html.
https://makandracards.com/makandra/9741-run-specific-version-of-bundler
gem install bundler -v 1.0.10
bundle _1.0.10_ install
Works for me :)