open-contracting / standard-maintenance-scripts

Scripts for maintaining all repositories, in particular the standard's documentation and extensions
https://open-contracting.github.io/standard-maintenance-scripts/
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

Can Gemfile.lock be edited to support multiple Bundler versions? #160

Closed mrshll1001 closed 3 years ago

mrshll1001 commented 3 years ago

The Gemfile.lock requires the version of Bundler to be 1.16.2 while contemporary version on disto repos is 2.1.4. This causes an error when setting up. Deleting the Gemfile.lock allows bundle to run, although obviously now there might be newer versions of libraries installed.

I'm familiar with .lock files from Composer but Composer didn't version lock the version of itself required to run with the lock file (to my knowledge). Can Gemfile.lock be edited to remove the Bundler version requirement safely?

jpmckinney commented 3 years ago

I've now removed Gemfile.lock from revision control.