title: bundle install works, but bundle-show gives error "rails.git is not yet checked out. Please run `bundle install`"
body: <p>I've recently updated our Gemfile to use a forked copy rails on our github account. We've created a custom branch off the 2.3-stable branch (which I'll call <code>the_bugfix_branch</code>) and added gemspecs for each of the gems to make them findable by bundler.</p>
  
  <p>My Gemfile has the following:</p>
  
  <pre><code>git 'git://github.com/ourgithub/rails.git', :branch =&gt; "the_bugfix_branch"  do
    # Note: load-order is essential for dependencies
    gem 'activesupport', '2.3.2' # this must go first
    gem 'actionpack',    '2.3.2' # this must go second
    gem 'actionmailer',  '2.3.2' 
    gem 'activerecord',  '2.3.2' 
    gem 'activeresource','2.3.2' 
    gem 'rails',         '2.3.2' # this must go last
  end
  </code></pre>
  
  <p><code>bundle install</code> runs happily giving me (amongst all the rest of the gem output):</p>
  
  <pre><code>Using actionpack (2.3.2) from git://github.com/ourgithub/rails.git (at the_bugfix_branch) 
  Using actionmailer (2.3.2) from git://github.com/ourgithub/rails.git (at the_bugfix_branch) 
  Using activesupport (2.3.2) from git://github.com/ourgithub/rails.git (at the_bugfix_branch) 
  Using activerecord (2.3.2) from git://github.com/ourgithub/rails.git (at the_bugfix_branch) 
  Using activeresource (2.3.2) from git://github.com/ourgithub/rails.git (at the_bugfix_branch) 
  ...
  Using rails (2.3.2) from git://github.com/ourgithub/rails.git (at the_bugfix_branch)
  ...
  Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
  </code></pre>
  
  <p>I then checkin and commit Gemfile.lock which contains:</p>
  
  <pre><code>GIT
    remote: git://github.com/ourgithub/rails.git
    revision: 3fc562f9b1def3ad9a7abbfd5ccfa713a6dbc39f
    branch: the_bugfix_branch
    specs:
      actionmailer (2.3.2)
        actionpack (= 2.3.2)
      actionpack (2.3.2)
        actionpack (= 2.3.2)
      activerecord (2.3.2)
        activesupport (= 2.3.2)
      activeresource (2.3.2)
        activesupport (= 2.3.2)
      activesupport (2.3.2)
      rails (2.3.2)
        actionmailer (= 2.3.2)
        actionpack (= 2.3.2)
        activerecord (= 2.3.2)
        activeresource (= 2.3.2)
        activesupport (= 2.3.2)
        rake (&gt;= 0.8.3)
  </code></pre>
  
  <p>However if I try to spin up the server, it tells me:</p>
  
  <pre><code>The git source git://github.com/ourgithub/rails.git is not yet checked out. Please run `bundle install` before trying to start your application
  </code></pre>
  
  <p>I also get the exact same message if I try <code>bundle show rails</code> or <code>bundle check</code>:</p>
  
  <pre><code>&gt; bundle show rails
  The git source git://github.com/ourgithub/rails.git is not yet checked out. Please run `bundle install` before trying to start your application
  &gt; bundle check
  git://github.com/ourgithub/rails.git (at the_bugfix_branch) is not checked out. Please run `bundle install`
  </code></pre>
  
  <p>If I try <code>bundle install --deployment</code> (just for kicks) it gives:</p>
  
  <pre><code>&gt; bundle install --deployment
  You are trying to install in deployment mode after changing
  your Gemfile. Run `bundle install` elsewhere and add the
  updated Gemfile.lock to version control.
  
  You have added to the Gemfile:
  * source: git://github.com/ourgithub/rails.git (at the_bugfix_branch)
  
  You have deleted from the Gemfile:
  * source: git://github.com/ourgithub/rails.git (at the_bugfix_branch)
  
  You have changed in the Gemfile:
  * activeresource from `git://github.com/ourgithub/rails.git (at the_bugfix_branch)` to `no specified source`
  * activerecord from `git://github.com/ourgithub/rails.git (at the_bugfix_branch)` to `no specified source`
  * actionmailer from `git://github.com/ourgithub/rails.git (at the_bugfix_branch)` to `no specified source`
  * actionpack from `git://github.com/ourgithub/rails.git (at the_bugfix_branch)` to `no specified source`
  * activesupport from `git://github.com/ourgithub/rails.git (at the_bugfix_branch)` to `no specified source`
  * rails from `git://github.com/ourgithub/rails.git (at the_bugfix_branch)` to `no specified source`
  </code></pre>
  
  <p>I've clearly <em>not</em> just changed my Gemfile, and I most certainly <em>have</em> run bundle install since the time I did add that stuff to the Gemfile.</p>
  
  <p>I've googled for <em>"is not yet checked out. Please run <code>bundle install</code> before trying to start your application"</em> and all the <em>"<code>bundle install</code> won't work"</em> questions that I can find seem to say <em>"just run <code>bundle install</code> then checkin your copy of <code>Gemfile.lock</code>"</em>... which I've clearly done. They also tend to be about bundle-install failing on production, but mine fails this way also on development.</p>
  
  <p>I don't think this is a <strong>simple</strong> Gemfile/Gemfile.lock mismatch problem!</p>
  
  <p>Some of the google results tell me to try removing .bundle/config and running it again. I've tried that to the same (lack of) effect.</p>
  
  <p>Specifically, I went through all of the <code>rm -rf</code> lines of this troubleshooting guide: <a href="https://github.com/carlhuda/bundler/blob/master/ISSUES.md" rel="nofollow">https://github.com/carlhuda/bundler/blob/master/ISSUES.md</a> before re-running bundle install.</p>
  
  <p>No change in the error message.</p>
  
  <p>Any ideas?</p>