carlhuda/bundler — Issue #1685: Recursive dependencies not being installed
Author: ereslibre
Created: 2012-02-29 00:31:31+00:00
State: open

## 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 the same error is reported:

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.