Error installing json (1.8.1) and Bundler cannot continue - Rails

An error occurred while installing json (1.8.1), and the Bundler could not continue. Make sure you gem install json -v '1.8.1'succeed before binding. xcrun: error: invalid active developer path (/ Library / Developer / CommandLineTools), missing xcrun at: / Library / Developer / CommandLineTools / USR / bin / xcrun

invalidate exit code 1

I know this has already been published, but I tried updating the package, installed the package and put the gem file in my gem file and installed the package, but nothing works from the other answers.

ideas?

+4
source share
5

" " .

+17

bundle update && bundle install.
.

+9

:

xcode-select --install

+3

Gemfile.lock . ​​ json.

+2

:
bundle update json
bundle install

+1

Source: https://habr.com/ru/post/1661774/


All Articles