概要
- Mojave に更新後に
bundle install
した際に発生したxcrun: error ...
の解決方法です。
Error内容
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
・・・・
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
make failed, exit code 1
・・・
解決方法
$ xcode-select --install