title: Bundler cannot find a version of a gem, but gem install with the same name works
body: <p>I've created a gem, and for some reason this one keeps bugging me, and refuses to install properly through bundler.</p>
  
  <p>Here's the <em>Gemfile</em>:</p>
  
  <pre><code>source 'https://rubygems.org'
  gem 'rails', '3.2.9'
  gem "switch_access-rails", "~&gt; 1.1.6"
  </code></pre>
  
  <p><em>bundle install</em> fails with:</p>
  
  <pre><code>Could not find gem 'switch_access-rails (~&gt; 1.1.6) ruby' in the gems available on this machine.
  </code></pre>
  
  <p>This works:</p>
  
  <pre><code>gem install switch_access-rails -v 1.1.6 
  </code></pre>
  
  <p>And the gem is here on rubygems: <a href="https://rubygems.org/gems/switch_access-rails/versions/1.1.6" rel="noreferrer">https://rubygems.org/gems/switch_access-rails/versions/1.1.6</a></p>
  
  <p>I even tried bumping from version 1.1.5 to 1.1.6 just to see if that helped.</p>
  
  <p>Installing version 1.1.4 in with bundle install works. </p>
  
  <p>Any tips on where to start looking/debugging bundle install?</p>