rubygems / bundler

Manage your Ruby application's gem dependencies
https://bundler.io
MIT License
4.89k stars 2k forks source link

Problem resolving deps from a git repo #1013

Closed ctrochalakis closed 11 years ago

ctrochalakis commented 13 years ago

Hello, having the following gemfile:

source :gemcutter

gem "mongoid-rspec", :git => "https://github.com/evansagge/mongoid-rspec.git", :ref => '8cc4a009b92d2339d5f3'
#gem "mongoid-rspec"

when using the gem version everything works but using the git repo you get a Could not find gem 'mongoid (~> 2.0.0)', required by 'mongoid-rspec', in any of the sources

I have tried that with bundler 1.0.9 & rubygems 1.4.2 and with bundler-1.0.10 & rubygems-1.5.0

hedgehog commented 13 years ago

You are not alone. This is a bug. I'm trying to catch Bundler's Pixie Dust, once I succeed and the spec's pass I'll be issuing a pull request citing this bug - keep an eye on the pull queue and please test to see if it does what you want.

See also issue #324

dmitryame commented 13 years ago

has this ever been resolved?

activestylus commented 12 years ago

This has been a problem since version 0.9 - I am amazed that it still persists. If you use mongrel/thin/webrick as your web server its usually not an issue. At least I only experience when running my app on Passenger. It's really annoying

rohitarondekar commented 11 years ago

Closing as duplicate of https://github.com/carlhuda/bundler/issues/324