Open gregfletch opened 1 year ago
Can you try again using Bundler 2.4.22?
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.
After installing BootBoot, when I run
bundle update
(regardless of whether or not I haveDEPENDENCIES_NEXT
environment variable set), only theGemfile_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 theGemfile.lock
. I've noticed that runningBundler.default_lockfile
always returnsGemfile_next.lock
regardless of whether theDEPENDENCIES_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?