title: How can I find out why a gem bundle has locked a gem at a specific version?
body: <p>I'm trying to specify a version of the <a href="http://rubygems.org/gems/thrift">thrift gem</a> in my gem file.</p>
  
  <pre><code>gem 'thrift', "~&gt; 0.6.0"
  </code></pre>
  
  <p>When I trying to run <code>bundle install</code>, I get this error:</p>
  
  <pre><code>You have requested:
    thrift ~&gt; 0.6.0
  
  The bundle currently has thrift locked at 0.5.0.
  Try running `bundle update thrift`
  </code></pre>
  
  <p>How can I find out what is causing it to be locked at the earlier version? Would it be in the requirements of another gem I have listed in the gem file?</p>
  
  <p>Or is it just being caused by the fact that the installed version is 0.5.0, and specifying a version in the gem file won't update an installed gem?</p>