An error occurred while installing, and Bundler cannot continue

透過 bundler 安裝 ruby gem 時遇到了以上錯誤,仔細看 log 會發現有

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

解決方式:

安裝 xcode command line tools

xcode-select --install

Leave a Reply