-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to handle ignored groups #52
Comments
Thanks for the report! This is definitely a bug. The problem stems from how It seems that if you pass a gem to To fix this, somehow I'm tagging this issue as help wanted because I could use some suggestions on how best to do this. |
A quick fix would be to call |
@brandondrew what's the expected behavior in the situation where the |
It should take that group into consideration because (as I discovered by doing things the old-fashioned way, without bundle_update_interactive), the Oracle drivers are old and don't support upgrading Rails. So I don't want to upgrade Rails to a point that it works locally (where I have the database in SQLite) and then chokes on the server (where it's using Oracle). |
This might be a terrible idea since (1) I haven't read the code for this gem, and (2) don't have a deep understanding of how Bundler does its magic, and (3) might not have completely understood your description of the problem... but would it make sense to do things the faster way by default but then in a rescue block fall back to a more reliable approach? If we assume that 99+% of the time the faster way is sufficient, we can kind of have our cake (speed) and eat it too (have it be reliable). |
IF I'm not mistaken, I think the (This is an app that I virtually never work on, and didn't originally set up.) |
It is a little messy, but yes, I think this might be the easiest approach. Full disclosure: I am not planning on fixing this bug at the moment, but I will accept a PR. I may circle back and open a PR at a later date when I have more availability. |
bundle update-interactive
is a huge productivity boost, but I've found a case where it seems like it falls down (unless I'm missing something).I have this in the Gemfile of an app I'm trying to upgrade,
and I get the following error when I run
bundle update-interactive
:The text was updated successfully, but these errors were encountered: