症状
macOSのバージョンアップや環境構築直後に"xcrun"が見つからない(missing)エラーが発生する。
1 2 3 4 5 6 7 8 9 |
$ brew upgrade ==> Upgrading 1 outdated package: ruby-build 20191002 -> 20191004 ==> Upgrading ruby-build xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun Error: An exception occurred within a child process: CompilerSelectionError: ruby-build cannot be built with any available compilers. Install GNU's GCC: brew install gcc |