Upgrade ruby to 2.4.0

1.3k Views Asked by At

I have upgraded Ruby to version 2.4.0 in my Rails app, but when I try to bundle install, I face with the following error:

An error occurred while installing json (1.8.3), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.3'` succeeds before  
1

There are 1 best solutions below

1
On BEST ANSWER

json(1.8.3) is not compatible with ruby 2.4.0. Try using a newer version.

$ bundle update json