mkmf专题

cocoapods 安装错误 (... .rb extconf.rb mkmf.rb can't find header files for ruby at ...)

这次遇到这错误因为重新安装了系统,安装了 XCode,然后就遇到这个安装Cocoapods的错误,之前从来没有遇到过 (劝你千万别重新安装系统,搭建各种IDE环境的代价太大了 。。。) 安装cocoapods: sudo gem install cocoapods 是不是发生了错误 (...   .rb extconf.rb mkmf.rb can't find header files f

Mac下编译Captuocr:mkmf.rb can't find header files for ruby at 错误

编译CaptuocrToy: https://github.com/gragrance/CaptuocrToy 1.运行命令的时候:sudo gem install -n /usr/local/bin cocoapods 报错:mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework