macOS mkmf.rb can't find header files for ruby

  1. sudo rm -rf /Library/Developer/CommandLineTools
  2. xcode-select –install
  3. sudo xcodebuild -license accept
  4. open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg

Ref: https://www.jianshu.com/p/a86e9b112191

posted @   opencoder  阅读(498)  评论(0)    收藏  举报
点击右上角即可分享
微信分享提示