Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Recursive dependencies not being installed #1685

Closed
ereslibre opened this Issue · 1 comment

2 participants

@ereslibre

Description

I've created a test case in which you have a Rails project depending on gem A (through :git). This gem A depends on another gem B also through :git, and when running bundle update on the rails project, gem B isn't installed.

Steps to reproduce:

git clone git@bitbucket.org:ereslibre/emptyrails.git
bundle update

Error:

Could not find gem 'gem-b (~> 0.0.1) ruby', which is required by gem 'gem-a (~> 0.0.1) ruby', in any of the sources.

Additional information:

Running bundle update in gem-a works, reporting:

Updating git@bitbucket.org:ereslibre/gem-b.git
Fetching source index for http://rubygems.org/
Using gem-b (0.0.1) from git@bitbucket.org:ereslibre/gem-b.git (at master) 
Using gem-a (0.0.1) from source at /home/ereslibre/test/gem-a 
Using bundler (1.0.21) 
Your bundle is updated! Use `bundle show [gemname]` to see where a bundled gem is installed.

Right after that, doing bundle update again in the emptyrails project reports the same error:

Could not find gem 'gem-b (~> 0.0.1) ruby', which is required by gem 'gem-a (~> 0.0.1) ruby', in any of the sources.
@radar
Collaborator

That repo no longer exists. I am going to go ahead and assume the issue is now fixed.

@radar radar closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.