久しぶりにruby使ったらbundle installでコケた
mkmf.rbがheaderファイル見つけられないと言ってくる
mkmf.rb can't find header files for ruby的な
building native extensionsは鬼門
結果
あとこれ sudo xcode-select -switch /Applications/Xcode-beta.app
ダメだったこと
xcode-select --installでcommand line toolsをインストールするも解消せず
sudo xcodebuild -licenseでlicenseにagreeしても変わらず
あとはググってよく出てきたのがこれ↓使えっていうのだけど、CommandLineTools/にPackages/が無かった
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg