简体   繁体   English

使用RVM安装ruby 1.9.2时出现问题

[英]Problem installing ruby 1.9.2 using RVM

I get this error message when I rvm install 1.9.2 我在rvm安装1.9.2时收到此错误消息

Error running 'make ', please read /Users/danielreardon/.rvm/log/ruby-1.9.2-p136/make.log There has been an error while running make. 运行'make'时出错,请阅读/Users/danielreardon/.rvm/log/ruby-1.9.2-p136/make.log运行make时出错。 Halting the installation. 暂停安装。

I'm very very new to all this. 我对这一切非常陌生。 Any suggestions? 有什么建议么?

Have you installed Apple's XCode development system? 你安装了Apple的XCode开发系统吗? RVM requires that to install Ruby and many of the gems' native drivers. RVM要求安装Ruby和许多gems的本机驱动程序。 If not, download the latest version from Apple. 如果没有,请从Apple下载最新版本。 Do NOT use the version on the Snow Leopard DVD because it's buggy. 请勿在Snow Leopard DVD上使用该版本,因为它有故障。

Also, did you modify your ~/.bashrc or ~/.bash_profile file according to the "post install" section in RVM's installation page ? 另外,您是否根据RVM安装页面中的“安装后”部分修改了~/.bashrc~/.bash_profile文件? SO many people forget that, but it's essential. 很多人忘了这一点,但这很重要。

Also, before installing a Ruby via RVM, run rvm notes and make sure you've got all the prerequisites installed. 另外,在通过RVM安装Ruby之前,请运行rvm notes并确保已安装所有先决条件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM