bootboot icon indicating copy to clipboard operation
bootboot copied to clipboard

Only Gemfile_next.lock Is Getting Updated After Installing BootBoot

Open gregfletch opened this issue 2 years ago • 2 comments
trafficstars

After installing BootBoot, when I run bundle update (regardless of whether or not I have DEPENDENCIES_NEXT environment variable set), only the Gemfile_next.lock is being updated, Gemfile.lock is unchanged. This is causing issues on CI when running the current version as it is pulling the older version(s) of gems from the Gemfile.lock. I've noticed that running Bundler.default_lockfile always returns Gemfile_next.lock regardless of whether the DEPENDENCIES_NEXT environment variable is set.

Just wondering what the expected behaviour is - like from the docs, it sounds like bundle update should be updating both lock files. Is there something I'm missing in order to get BootBoot to update both lock files?

gregfletch avatar May 12 '23 20:05 gregfletch

Can you try again using Bundler 2.4.22?

deivid-rodriguez avatar Nov 09 '23 20:11 deivid-rodriguez

With Bundler 2.4.22, if I update a specific gem (i.e. bundle update rails) that seems to work as expected and updates both lock files. However, if I attempt to update all outdated gems (i.e. bundle update), it seems to still only update the Gemfile_next.lock file.

gregfletch avatar Nov 10 '23 14:11 gregfletch