title: Bundle install not installing gem from github
body: <p>I am trying to import a gem directly from github into my application and I keep getting the error below.</p>
  
  <pre><code>Updating https://username:password@github.com/my-repo/moodle-api.git
  Fetching gem metadata from https://rubygems.org/...........
  Fetching version metadata from https://rubygems.org/...
  Fetching dependency metadata from https://rubygems.org/..
  Could not find gem 'moodle-api (&gt;= 0) ruby' in https://username:password@github.com/my-repo/moodle-api.git (at
  v1.1).
  Source does not contain any versions of 'moodle-api (&gt;= 0) ruby'
  </code></pre>
  
  <p>I have found multiple posts with similar problems but none of the solutions seem to work.</p>
  
  <p><a href="https://stackoverflow.com/questions/12904695/bundle-install-error-source-does-not-contain-any-versions-of">Bundle install error: Source does not contain any versions of</a></p>
  
  <p><a href="https://stackoverflow.com/questions/4023087/could-not-find-gem-error-when-specifying-a-forked-version-of-a-gem-from-github">&#39;Could not find gem&#39; error when specifying a forked version of a gem from Github in my gemfile</a></p>
  
  <p>I am importing it using</p>
  
  <pre><code>gem 'moodle-api', :git =&gt; 'https://username:password@github.com/my-repo/moodle-api.git', :tag =&gt; 'v1.1'
  </code></pre>
  
  <p>The name of the gem is moodle-api and the gemspec file has the name moodle-api.gemspec. The version is setup correctly as well.</p>
  
  <p>Any ideas? I am pretty stumped.</p>