Renovate unable to update rails #30852
Replies: 2 comments 1 reply
-
I wonder if this might be a bug. It seemed like renovate should be running the bundle update command with |
Beta Was this translation helpful? Give feedback.
-
Hi there, Get your discussion fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. Please follow these steps:
Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
What would you like help with?
I would like help with my configuration
How are you running Renovate?
Mend Renovate hosted app on github.com
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
Github
Please tell us more about your question or problem
Using the following renovate config:
Renovate opens a PR to try to update our rails version from 7.1 to 7.2 and encounters the following artifact error:
I see in the branch Renovate is changing our Gemfile line from:
gem 'rails', '~> 7.1.3', '>= 7.1.3.2'
to
gem 'rails', '~> 7.2.0', '>= 7.2.0'
When I check out the renovate branch and run
bundle install
, bundle installs the new rails without error, so this must have something to do with the--strict --patch
being specified. Indeed if I check out the branch and runbundle update rails --strict --patch
, I get the same error.Is there a way to get renovate to update our rails without this error? I tried specifying
"rangeStrategy": "update-lockfile"
in the config but that did not help.Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions