title: Force bundle install to use https:// instead of git:// for GitHub-based gems
body: <p>I am trying to build a rails project and because the host I am working on doesn't have access to the Internet for the the git:// protocol (port 9418) I get errors like</p>
  
  <pre><code>Fetching git://github.com/pivotal/jasmine.git
  fatal: unable to connect to github.com:
  github.com[0: 192.30.252.130]: errno=Connection refused
  </code></pre>
  
  <p>when running <code>bundle install</code>.</p>
  
  <p>The relevant line in the GemFile doesn't specify git:// as a protocol, it just points to GitHub as the source for the gem</p>
  
  <pre><code>gem 'jasmine', :github =&gt; 'pivotal/jasmine-gem'
  </code></pre>
  
  <p>What do I have to do to make bundler to use https:// rather than git:// for pulling gems from GitHub?</p>
  
  <p>Edit:</p>
  
  <p>Is there a way other than editing every affected line in the GemFile? I'd prefer to avoid any merging issues down the line if the project's GemFile is updated.</p>