bundle --strict prevents updates from actually happening #33508
Labels
manager:bundler
Bundler (Ruby) package manager
priority-2-high
Bugs impacting wide number of users or very important features
type:bug
Bug fix of existing functionality
Discussed in #33446
Originally posted by mxey January 7, 2025
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
Gitlab
renovate/renovate:39.92.0
Please tell us more about your question or problem
When Renovate detects updates for dependencies in a Bundler Gemfile.lock, it runs
bundler lock --patch --strict --update $GEM
to perform the change. However, the--strict
option prevents Bundler from bumping anything more than patch level. If the gem in question changes it dependencies to a higher minor, the whole change will be skipped.Reproduction - I have not managed to quickly get Renovate to run on Github, so I put this repo on our Gitlab and run Renovate against that, as usual. I don't think that makes a difference.
You can see in the logs that Renovate runs
bundler
and then realizes that there are no changes:I can reproduce Bundler's behavior manually as well:
As you can see,
bolt
required a major update to fullfil the depedencies forpuppet_litmus
Logs (if relevant)
Logs
The text was updated successfully, but these errors were encountered: