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

Bundler does not ask Gemcutter API for dependency chain of git gems (pre5 regression) #1254

Closed
wuputah opened this issue Jun 18, 2011 · 4 comments
Assignees
Milestone

Comments

@wuputah
Copy link
Contributor

wuputah commented Jun 18, 2011

Reproducible test case:

% cat Gemfile
source :rubygems
gem 'test-gem-123', :git => 'git://github.com/wuputah/test-gem-123.git'

% DEBUG=1 bundle install --path vendor
Updating git://github.com/wuputah/test-gem-123.git
Fetching dependency information from the API at http://rubygems.org/Query List: ["test-gem-123"]
Query Gemcutter Dependency Endpoint API: test-gem-123
Fetching from: http://rubygems.org/api/v1/dependencies?gems=test-gem-123
HTTP Success
Fetching dependency information from the API at http://rubygems.org/Query List: []

Could not find gem 'heroku (~> 2.0)', required by 'test-gem-123', in any of the sources

test-gem-123 is (naturally) not on Rubygems and so its dependencies can only be detemined by looking at its gemspec on Github: https://github.com/wuputah/test-gem-123/blob/master/test-gem-123.gemspec

This bug was not present in pre4.

@wuputah
Copy link
Contributor Author

wuputah commented Jun 18, 2011

Looks like this may be a dup of -- or at least similar to -- #1138. That bug uses a private/secondary gem server, while this one does not.

@ghost ghost assigned hone Aug 4, 2011
@indirect indirect closed this as completed Aug 5, 2011
@hone hone reopened this Aug 10, 2011
@hone
Copy link
Contributor

hone commented Aug 10, 2011

this is failing when used with --deployment.

@wuputah
Copy link
Contributor Author

wuputah commented Aug 10, 2011

:(

@hone
Copy link
Contributor

hone commented Aug 10, 2011

fixed on master

@hone hone closed this as completed Aug 10, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants