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, I get this error:
You have requested:
thrift ~> 0.6.0
The bundle currently has thrift locked at 0.5.0.
Try running `bundle update thrift`
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?
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?
Turns out just running
bundle update thriftwill show you what is locking the version: