首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >如何在Mac OS X Lion中安装Ruby 1.9.3?

如何在Mac OS X Lion中安装Ruby 1.9.3?
EN

Stack Overflow用户
提问于 2011-11-15 23:53:03
回答 7查看 52.4K关注 0票数 56

我正在尝试安装Ruby 1.9.3,但是遇到了问题。我安装了RVM,然后输入:

代码语言:javascript
复制
rvm install 1.9.3

输出为:

代码语言:javascript
复制
ERROR: Error running ' ./configure....

日志上写着:

代码语言:javascript
复制
configure: WARNING: unrecognized options: --with-libyaml-dir 
checking build system type... x86_64-apple-darwin11.2.0 
checking host system type... x86_64-apple-darwin11.2.0 
checking target system type...x86_64-apple-darwin11.2.0 
checking whether the C compiler works... no
configure: error: in `/Users/myuser/.rvm/src/ruby-1.9.3-p0':
configure: error: C compiler cannot create executables See `config.log' for more details

我从应用商店下载了新的XCode并安装了它。

EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/8139138

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档