简体   繁体   中英

ruby 1.9.2 installations error on rvm

I tried to install ruby 1.9.2 on rvm, but after the computer compiles for a while, the system says error message on Terminal. Do you know what the matter is? It's taking me hours :(

ruby-1.9.2-head - #fetching 
HEAD is now at 91799a2 merges r30786, r30787 and r30797 from trunk into ruby_1_9_2.
From https://github.com/ruby/ruby
 * branch            ruby_1_9_2 -> FETCH_HEAD
Already up-to-date.
Copying from repo to src path...
Running autoconf
ruby-1.9.2-head - #configuring 
ruby-1.9.2-head - #compiling 
ERROR: Error running 'make ', please read /Users/nofear38/.rvm/log/ruby-1.9.2-head/make.log
ERROR: There has been an error while running make. Halting the installation.

运行rvm notes并确保已安装OS依赖项。

Do you have the build tools from XCode installed? You will need them if you want to make things.

The error output is specifically saying to read /Users/nofear38/.rvm/log/ruby-1.9.2-head/make.log . What does that log file tell you about the error? That might tell you exactly what the problem is.

If not, what command did you use when you installed RVM?

Are you following the Installation Methods or some other instructions? All too often we find people have either followed the wrong directions, didn't follow the directions completely, or are using the system-wide installation instead of the single-user's sandbox.

The command output you show is not what I see when installing Ruby via RVM for the current 1.9.2 install. If you used:

rvm install 1.9.2-head

I recommend instead you use:

rvm install 1.9.2

which will pull in 1.9.2-p180, which is the current stable branch, rather than the latest bleeding-edge version.

如果您尚未解决此问题,则我正在运行Ubuntu 11.0,并且我使用了sudo apt-get install ruby-rvm和rvm完美安装!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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