title: Gemfile gem installation and gemspec dependencies
body: <p>I have an app whose Gemfile requires a gem that is also dependent on another gem that is currently found on github.</p>
  
  <p>So 
  <strong>app/Gemfile</strong> reads
  <code>gem "my-gem", :git =&gt; "git://github.com/MyCompany/my-gem.git"</code></p>
  
  <p><strong>my-gem/Gemfile</strong> reads
  <code>gem "my-gem-2", :git =&gt; "git@github.com:MyCompany/my-gem-2.git"</code></p>
  
  <p><strong>my-gem/my-gem.gemspec</strong> reads
  <code>spec.add_dependency "my-gem-2"</code></p>
  
  <p>When I run bundle inside of app I get an error that it can't find gem my-gem-2 which is required by my-gem; however, if I put the following line 
  <code>gem "my-gem-2", :git =&gt; "git@github.com:MyCompany/my-gem-2.git"</code>
  inside of <strong>app/Gemfile</strong> then it works fine.</p>
  
  <p>This practice seems redundant as I wouldn't think I'd have to add gem dependencies of another gem into my parent app. Is there something I'm doing wrong here that myapp can't find my-gem-2?</p>