Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

An error occurred while installing json (1.8.1), and Bundler cannot continue - Rails

An error occurred while installing json (1.8.1), and Bundler cannot continue. Make sure that gem install json -v '1.8.1' succeeds before bundling. xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

make failed, exit code 1

I know this has already been posted but i have tried bundle update, bundle install and putting the gem file in my gem file and bundle install but nothing works from the other answers.

ideas?

like image 621
thatsmesofia Avatar asked Nov 24 '16 01:11

thatsmesofia


1 Answers

Running "bundle update" worked for me.

like image 164
Waqas Avatar answered Oct 13 '22 10:10

Waqas