Reputation: 26660
I need to mention ffi of version 1.0.9 (it is already mentioned in my Gemfile). The system suggested me to make "bundle update ffi", so I did it:
$ bundle update ffi
Fetching source index for http://rubygems.org/
You have requested:
ffi = 1.0.9
The bundle currently has ffi locked at 1.1.5.
Try running `bundle update ffi`
How to break this circularity?
P.S. I have ffi 1.0.9 already installed.
Upvotes: 0
Views: 929
Reputation: 7101
You can simply do a bundle update
to update Gemfile.lock
.
ffi
is typically a dependency used by other gems, for gems like that bundle update ffi
is usually insufficient as the versions of the dependent gems have to be rechecked/updated as well.
Upvotes: 1
Reputation: 22268
You can delete Gemfile.lock
and bundle install again.
Note: make sure your Gemfile
does not specify a specific version.
Upvotes: 3
Reputation: 96484
Delete the Gemfile.lock file and also make sure that your Gemfile does not have any version hard-coded (i.e. specified) for ffi then bundle
which will create a new Gemfile.lock upon success.
Upvotes: 1