0

When I run rails s I get the following error:

Could not find json-1.8.6 in any of the sources. Run bundle install to install missing gems.

Does anyone know how I fix this?

Here are the contents of my Gemfile.

And my gemfile.lock.

I'm using Ruby version 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]

SRack
  • 11,495
  • 5
  • 47
  • 60

1 Answers1

0

Try gem update json and retry 'bundle install'

Leaf
  • 553
  • 5
  • 13
  • after i try the first command it gives me the same error and update bundler says there are no updates – Manoj Karthik Feb 21 '18 at 14:59
  • @ManojKarthik I updated answer after you had provided gemfile.lock. Plz let me know if updating json helps – Leaf Feb 21 '18 at 15:01
  • hmm, here is a thread on the same issue https://stackoverflow.com/questions/21095098/why-wont-bundler-install-json-gem Maybe something from there could help – Leaf Feb 21 '18 at 15:15