I get two different results when using two bundle and bundle update commands
If I use bundle update , I get the following error:
Resolving dependencies... Bundler could not find compatible versions for gem "railties": In Gemfile: requirejs-rails (>= 0) ruby depends on railties (~> 3.1.1) ruby rails (= 4.0.0.rc2) ruby depends on railties (4.0.0.rc2) Bundler could not find compatible versions for gem "rails": In Gemfile: requirejs-rails (>= 0) ruby depends on rails (~> 3.1.1) ruby rails (4.0.0.rc2)
But if I use only bundle , I get the following:
Resolving dependencies... Bundler could not find compatible versions for gem "activesupport": In snapshot (Gemfile.lock): activesupport (3.2.2) In Gemfile: rails (= 4.0.0.rc2) ruby depends on activesupport (= 4.0.0.rc2) ruby Running `bundle update` will rebuild your snapshot from scratch, using only the gems in your Gemfile, which may resolve the conflict.
Errors point to two different dependency problems, but both fetching gem metadata from https://rubygems.org/... and Resolving dependencies... fetching gem metadata from https://rubygems.org/... , so how do they differ?
I always used only bundle , but tried bundle update and noticed the difference.
source share