Skip to content

Fix bundle update --bundler no longer updating lockfile - #5224

Merged
deivid-rodriguez merged 1 commit into
masterfrom
bundle-update-bundler-no-longer-updates
Dec 27, 2021
Merged

deivid-rodriguez merged 1 commit into
masterfrom
bundle-update-bundler-no-longer-updates

Conversation

@deivid-rodriguez

Copy link
Copy Markdown
Contributor

What was the end-user or developer problem that led to this PR?

bundle update --bundler no longer updates the lockfile if the locked version is already installed.

What is your fix for the problem, implemented in this PR?

Add bundle update --bundler being run as another condition for not auto switching.

Fixes #5221.

NOTE: currently built on top of #5205, I'll rebase after merging that one.

Make sure the following tasks are checked

@deivid-rodriguez
deivid-rodriguez force-pushed the bundle-update-bundler-no-longer-updates branch from 0207a10 to a053b7e Compare December 27, 2021 13:58

@mattbrictson mattbrictson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test coverage looks good. I also ran dbundle update --bundler using this branch locally and it fixed the issue I reported in #5221. Thanks!

@deivid-rodriguez

Copy link
Copy Markdown
Contributor Author

Great, thanks for checking! I'll merge this after CI then.

I plan to further improve this at #5182. After that PR you will no longer need to have the latest version of bundler installed to update your lockfile to it.

@deivid-rodriguez
deivid-rodriguez merged commit ba3e2bd into master Dec 27, 2021
@deivid-rodriguez
deivid-rodriguez deleted the bundle-update-bundler-no-longer-updates branch December 27, 2021 19:38
deivid-rodriguez added a commit that referenced this pull request Dec 29, 2021
…r-updates

Fix `bundle update --bundler` no longer updating lockfile

(cherry picked from commit ba3e2bd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bundle update --bundler does nothing

2 participants