-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Gemfile.lock requirement sort order flapping issue is back #1375
Comments
Did you happen to change your version of Rubygems, by any chance? On Aug 27, 2011, at 3:06 PM, cgriego wrote:
|
I didn't change rubygems versions between the changes in the sort order. These versions of faraday, tinder, and webmock were installed under the same version of rubygems on the same machine shortly before the order switched. |
Okay, after some more time with it, the behavior I'm seeing isn't flapping. The initial bundle install/update output the requirements the first way and then everything since has held the order steady. |
Thanks for letting us know. On Aug 28, 2011, at 11:20 AM, [email protected] wrote:
|
I am seeing this too:
The pre-diff version is after running |
I'm not able to reproduce this -- I tried installing with 1.0.17 to create a Gemfile.lock and then running |
So the issue appears to be that Bundler naively trusts the order provided to it by Gem::Requirement#requirements. I just added some code to force those into the order produced by String#<=>, which should mean they can never change order again. Can one of you check out the 1-0-stable branch, run |
Had issues similar to: - rubygems/bundler#1375 - rubygems/bundler#1081 Was a problem with the Ubuntu packaged version of bundler. Seems to be resolved in later versions of bundler.
The previous issue where the Gemfile.lock would flip-flop the order of version constraints seems to be back in force. I'm using Bundler 1.0.18.
The text was updated successfully, but these errors were encountered: