carlhuda/bundler — Issue #1622: "Warning: already initialized constant Version" for `:git` Gems
Author: leehambley
Created: 2012-01-12 20:08:11+00:00
State: open

This appears to be fixed in `Bundler version 1.1.rc.7` for all Gems which are installed as real Gems, however Gems installed as `:git` repositories continue to print warnings.

Here's an example of a `fixed` gem, which continues to show errors even when using the correct `HEAD` version of the gem.

* https://github.com/5apps/resque-scheduler/commit/c7dc1a36bb2b9dbd32e8457b623c8650d5625f1c

I don't know if the codepath for `require`ing `:git` Gems is significantly different from loading regular ones, but this bug is very frustrating, as I can't seem to kill it.