-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Fix gem update --user-install #2901
Conversation
5de3677
to
aa9f546
Compare
@bronzdoc should this perhaps print a message with a quick explanation that non-user gems are being skipped + how to update those? Other than that, this looks good to me overall, but would definitely be a breaking change so I'm not sure when it should be merged. |
@duckinator I don't know 🤔 |
I agree with both of you. But, I'd prefer the change. I'm always updating my local ruby-head build, so all my gems used for testing are in --user-install... |
@bronzdoc thinking on it a bit more, I can see arguments in either direction. I'm cool with it being merged and treated as a bugfix if other folks are. 👍 |
I'll review this tomorrow, 👍. I do agree in principle with considering this a bug. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test and the fix look great. There's just a bunch of changes in lib/rubygems/specification.rb
that I don't think we need.
aa9f546
to
50d1251
Compare
@bundlerbot try |
Build is not running after a force push 🙄 |
Let's see how our bot is feeling now :) @bundlerbot merge |
2901: Fix gem update --user-install r=deivid-rodriguez a=bronzdoc # Description: Closes #2886 Update only user insatalled gems when the `--user-install` flag is passed to `gem update` I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md). Co-authored-by: bronzdoc <lsagastume1990@gmail.com>
Build succeeded
|
Description:
Closes #2886
Update only user insatalled gems when the
--user-install
flag is passed togem update
I will abide by the code of conduct.