Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Dependency type bug #1639

Merged
merged 2 commits into from Feb 2, 2012
Merged

Dependency type bug #1639

merged 2 commits into from Feb 2, 2012

Conversation

raggi
Copy link
Contributor

@raggi raggi commented Jan 20, 2012

As described in the comments and so on, this is a bug occurring in 1.1 and 1.0, whereby the lockfile contains insufficient information to make Gem::Dependency#== match when the deployment mode checks to see if the lockfile resolve and the gemfile resolve match.

This means users receive an unexpected and otherwise unresolvable error that looks like this:

https://gist.github.com/605252169609bfe8081d

This patch also needs backporting to a bugfix release in 1.0. It's affecting our production deployments, and could easily affect others.

The only reason this /might/ be less common is that people with deployable applications often do not also publish those applications as importable gems. The behavior is incorrect, regardless of the leading use case.

Thanks!

raggi added a commit that referenced this pull request Feb 2, 2012
@raggi raggi merged commit 61ca8b3 into 1-1-stable Feb 2, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant