carlhuda/bundler — Issue #1710: github gem source behaving weird?
Author: svenfuchs
Created: 2012-03-09 14:15:27+00:00
State: open

when i have the following line in my Gemfile:

`gem 'travis-support', github: 'travis-ci/travis-support'`

i get the following message:

$ bundle install
Fetching dependency information from the API at http://rubygems.org/.......
Fetching dependency information from the API at http://rubygems.org/.
Could not find gem 'travis-support (>= 0)' in the gems available on this machine.

when i change that line in the Gemfile to:

`gem 'travis-support', git: 'git://github.com/travis-ci/travis-support.git'`

then i now get a slightly more useful message:

$ bundle install
Updating git://github.com/travis-ci/travis-support.git
Fetching dependency information from the API at http://rubygems.org/.......
Fetching dependency information from the API at http://rubygems.org/.
Bundler could not find compatible versions for gem "rails":
In Gemfile:
travis-core depends on
rails (~> 3.1.1)
rails (3.2.2)

i might be wrong expecting that `github` and `git` gem sources are just syntactically different, i.e. would not report errors differently?