For example:
Project: diaspora
I have system Ruby 2.5.1 (reproducible with rvm either). I have bundlers 2.1.2 and 1.17.3 installed and run bundle install -> lockfile is bundled with 2.1.2
Reproduce:
- Ensure you have bundler versions pre 2.0 and 2+
- Run
bundle install -> 2+ version is used (see BUNDLED WITH in lockfile)
- Run Rails application without
bundle exec
Expected: Bundler version from bundled with is used. (2+ here)
Actual: Older one is used and hence we have an error: You must use Bundler 2 or greater with this lockfile.
For example:
Project: diaspora
I have system Ruby 2.5.1 (reproducible with rvm either). I have bundlers 2.1.2 and 1.17.3 installed and run bundle install -> lockfile is bundled with 2.1.2
Reproduce:
bundle install-> 2+ version is used (see BUNDLED WITH in lockfile)bundle execExpected: Bundler version from bundled with is used. (2+ here)
Actual: Older one is used and hence we have an error:
You must use Bundler 2 or greater with this lockfile.