I did search and none of the existing solutions worked for me, so I created a new question.
Got an error trying to launch the server.
Bundler could not find compatible versions for gem "json":
In snapshot (Gemfile.lock):
json (= 1.8.6)In Gemfile: rails (= 4.2.4) x86-mingw32 was resolved to 4.2.4,
which depends on activesupport (= 4.2.4) x86-mingw32 was resolved to 4.2.4,
which depends on json (>= 1.7.7, ~> 1.7) x86-mingw32
Gemfile source 'https://rubygems.org'
gem 'rails', '4.2.4'
gem 'activerecord-jdbcpostgresql-adapter'
gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.1.0'
gem 'therubyrhino'
gem 'jquery-rails'
gem 'jbuilder', '~> 2.0'
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
Gemfile.lock fragment
GEM
remote: https://rubygems.org/
specs:
activesupport (4.2.4)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
json (1.8.6-java)
What I tried to do:
Delete Gemfile.lock and run bundle install
Add json to Gemfile
Set both json in Gemfile.lock to 1.8.6-java
Bundler could not find compatible versions for gem "json": In snapshot (Gemfile.lock):
json (= 1.8.6)In Gemfile:
rails (= 4.2.4) x86-mingw32 was resolved to 4.2.4,
which depends on activesupport (= 4.2.4) x86-mingw32 was resolved to 4.2.4,
which depends on json (= 1.8.6) x86-mingw32
Delete json (1.8.6-java) from Gemfile.lock
None of these worked.