I've added a gem 'koala' to my Gemfile and seems to have thrown gem versions out of whack when I run the 'bundle install' command:
Bundler could not find compatible versions for gem "faraday": In snapshot (Gemfile.lock): faraday (0.6.1) In Gemfile: koala (~> 1.2.0beta1) depends on faraday (~> 0.7.4) Running `bundle update` will rebuild your snapshot from scratch, using only the gems in your Gemfile, which may resolve the conflict. How can I resolve this conflict?
Show activity on this post. I know that when using gem install , the gem will be stored under /home/username/. rvm/gems/, under which gemset the gem was installed.
gem install bundler installs a gem(library) that will help you to manage your project dependencies. Then you have a project that contains a file called Gemfile , when you cd into that directory and enter bundle install it will install all gems needed for that project.
Delete the contents of Gemfile.lock, and run bundle install again. That's been working for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With