-
-
Notifications
You must be signed in to change notification settings - Fork 2k
bundler install updates gems when it shouldn't #3520
Comments
Thank you for the detailed report! I was able to reproduce and fix this bug, as well as add a test to prevent it from happening again. I'll be releasing Bundler 1.7, 1.8, and 1.9 to resolve this regression. |
Thank you 👏 |
Yup, just waiting for green specs! |
Released fixes for this in 1.7.14 and 1.8.6. The fix will also be released in 1.9.2 as soon as the Travis build finishes. Thanks for the bug report! |
No problem, thanks for the quick fix |
Thank you! 🙇 |
I'm still having an issue with Simplified setup (not actually tested, but as an example)source 'https://rubygems.org'
gem 'bugsnag'
gem 'rails-assets-datatables', source: 'https://rails-assets.org' If a more recent version of the gem is available, when I Additionally, with no version in the Gemfile, all of the secondary source gems are updated on a |
Actualy it is partially fixed right now. If you define a source to a gem it will update the gem the first time you run |
Tested on
Happening with: Gemfile with 2 sources (can't provide a working example because the second source is private)
Setup
At this point, both gems are installed with version 0.1.
Reproduction
Now I change the Gemfile like so
Gems available on the private server:
bundle install
Expected result
private_gem1 is updated to version 0.2
private_gem2 is unaffected
Actual result
private_gem1 is updated to version 0.2
private_gem2 is updated to version 0.3
The text was updated successfully, but these errors were encountered: