carlhuda/bundler — pull request #1639 by raggi (2012-01-20 23:01:26+00:00)
Title: Dependency type bug

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!