Skip to content

An error occurred while installing, and Bundler cannot continue

Published: at 02:26 AM (1 min read)

透過 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

Previous Post
[nginx] 阻擋/僅允許特定 IP / 網段
Next Post
[nginx] 如何讓 $remote_addr 辨認出正確的 client 端 ip 而不是 cdn(cloudflare) ip