Closed marcandre closed 8 years ago
ah! very interesting. --major
in this case defaults to not using any of the new code mechanisms in order to retain backward compatibility ... the idea being --major
in 1.x would not change anything, so that in 2.x Bundler (2.0 only in dev right now) the default behavior could be switched to --patch
.
Obviously something in the new code is affecting things it shouldn't in order to be consistent. Nice test case, thx!
(we should probably file this bug with Bundler itself).
Right, sorry. Moved
Here's a test case aiming to illustrate the inconsistency with
bundle update foo
with different--major
/minor
/patch
. The only available gem versions are patches releases, so all three options should all behave the same but they don't for theminor
andpatch
options.I feel this inconsistency has to be bug. For sure, it makes it impossible to understand what is supposed to be going on.