2

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

cccvandermeer
  • 317
  • 2
  • 14

2 Answers2

1

Might be your existing Ruby version does not support the gem. Use the gems that support by your Ruby version. If yours Ruby version is higher than 2.1.0 then degrade it to 2.1.0 then it works fine.

Michał Perłakowski
  • 88,409
  • 26
  • 156
  • 177
karthik
  • 11
  • 1
0

You have to update your ruby installation . Which version it is ?

check it from terminal , try

ruby -v
Mahabub Islam Prio
  • 1,075
  • 11
  • 25
  • does your OS has latest libs downloaded ? and command line tool ? you can download it . If it is downloaded then please go for new bundle up . if it still having some problem then try to see if it about permission denied or something like that or not . Check this https://github.com/cowboyd/therubyracer/issues/304 . and make sure you have new libs installed . – Mahabub Islam Prio Jun 22 '15 at 15:11