can't find header files for ruby

阅读更多

还没有弄清楚确切原因

from http://www.macruby.org/

 

can't find header files for ruby

If you get the can't find header files for ruby error message when trying to build an extension or a gem, it means that Ruby cannot locate its header files.

Header files are not delivered by default with Mac OS X, you need to install the Xcode Tools package after the installation. You can find it in the Optional Installs / Xcode Tools directory on the Leopard DVD. 

你可能感兴趣的:(Ruby,Xcode,MacRuby,OS)