This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Different result between bundle
and bundle update
#4198
Labels
Comments
@segiddins this looks like your wheelhouse |
|
Looks like a bug in Molinillo with swapping, I'll try and debug that when I get the chance. Thanks for the excellent bug report! |
2 tasks
Thank you! 🙇 |
Unfortunatelly I still get this issue with bundler 1.13.6 and another Gemfile.
After running I think it has something to do with the Gemfile. We have several platform specific dependencies (ruby, java, x64-mingw32) and the Gemfile.lock lists all of them. There might be a difference in the transient dependencies for different platforms. |
@obfuscoder please open a new issue with steps to reproduce. Thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I am seeing a different result between
bundle
andbundle update
(orbundle lock --update
).I am on
bundler 1.11.2
and the difference is reproducible with this Gemfile:When I run
bundle install
. This Gemfile.lock will be generated:At this point, if I run
bundle update
orbundle lock --update
,mime-types-data
would be added.However, if I run
bundle
again, thenmime-types-data
would be gone.I had a look at
mime-types
https://rubygems.org/gems/mime-types/versions/3.0 and only v3.0 requiresmime-types-data 3.2015.1120
as a dependency whilemime-types < 3
doesn't have that as a dependency.Given the resolved Gemfile.lock (this portion specifically):
The eventual resolved and installed version of
mime-types
should be 2.99 and hencemime-types-data
should not be required as a dependency. But somehow I thinkbundle update
didn't resolve it correctly, whereasbundle install
did.Is this a bug with bundler or with the gems involved, or am I doing something wrong?
Thank you in advance!!!
The text was updated successfully, but these errors were encountered: