How can I find out why a gem bundle has locked a gem at a specific version?

后端 未结 1 783
长情又很酷
长情又很酷 2021-02-07 09:54

I\'m trying to specify a version of the thrift gem in my gem file.

gem \'thrift\', \"~> 0.6.0\"

When I trying to run bundle install

相关标签:
1条回答
  • 2021-02-07 10:35

    Turns out just running bundle update thrift will show you what is locking the version:

    $ bundle update thrift
    
    Fetching source index for http://rubygems.org/
    Bundler could not find compatible versions for gem "thrift":
      In Gemfile:
        evernote depends on
          thrift (~> 0.5.0)
    
        thrift (0.6.0)
    
    0 讨论(0)
提交回复
热议问题