2
votes

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.

2
which os you are using? - Rajarshi Das
Can you put more information about this? What dependencies are causing this? - Sagar Ranglani
the dependency is rdoc - cccvandermeer
gcc -v what it returns ? - Rajarshi Das

2 Answers

1
votes

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.

0
votes

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

check it from terminal , try

ruby -v