[英]Trying to install a ruby gem on Mac OSX gives me an error: “Failed to build gem native extension.”
I've been trying to install mongrel on my Mac OS X (Leopard) and it errors out with the message "Failed to build em native extension". 我一直试图在Mac OS X(Leopard)上安装杂种,并且出现错误消息“无法构建em本机扩展”。
What am I missing in my system? 我的系统中缺少什么? The versions of Ruby and gems that I am using are 1.8.7 and 1.3.3 respectively.
我正在使用的Ruby和gems的版本分别为1.8.7和1.3.3。
you need to have XCode installed. 您需要安装XCode。 you can get that from your OSX installation DVD or from apple's website.
您可以从OSX安装DVD或Apple网站上获得该文件。 i would get the latest version from the website, rather than the one from your dvd.
我将从网站上获得最新版本,而不是从您的DVD中获得最新版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.