I want to update the json gem to version 2.0.2 in my app. It is currently loaded as a dependency at version 1.8.3.
So, I added
gem 'json', '>= 2.0.2'
to my Gemfile and I type
bundle update json
and I get
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Resolving dependencies...
Bundler could not find compatible versions for gem "json":
In Gemfile:
json (>= 2.0.2)
paperclip (~> 4.2.0) was resolved to 4.2.4, which depends on
activesupport (>= 3.2.0) was resolved to 4.2.7, which depends on
json (>= 1.7.7, ~> 1.7)
Which doesn't make sense to me because I thought the json (>= 1.7.7, ~> 1.7)
is saying that activesupport 4.2.7 is dependent on at least version 1.7.7 of the json gem, so 2.0.2 should not be a conflict, no?
What is the correct interpretation here?
What steps can I take so that I can add json v2.0.2 gem to my rails v4.2.7 app successfully?