Ruby没有编译山狮

时间:2013-02-19 11:02:03

标签: ruby xcode terminal rvm osx-mountain-lion

嗨我想尝试使用rvm在osx 10.8山狮上编译ruby,虽然我不断收到以下错误

$ rvm reinstall 1.9.3 --with-readline-dir=$rvm_path/usr
Removing /Users/paulmcguane/.rvm/src/ruby-1.9.3-p194...
it seems that /Users/paulmcguane/.rvm/rubies/ruby-1.9.3-p194 is already non existent.
Removing ruby-1.9.3-p194 aliases...
Removing ruby-1.9.3-p194 wrappers...
Removing ruby-1.9.3-p194 environments...
Removing ruby-1.9.3-p194 binaries...
Installing Ruby from source to: /Users/paulmcguane/.rvm/rubies/ruby-1.9.3-p194, this may take a while depending on your cpu(s)...

ruby-1.9.3-p194 - #fetching 
ruby-1.9.3-p194 - #extracting ruby-1.9.3-p194 to /Users/paulmcguane/.rvm/src/ruby-1.9.3-p194
ruby-1.9.3-p194 - #extracted to /Users/paulmcguane/.rvm/src/ruby-1.9.3-p194
ruby-1.9.3-p194 - #configuring 
ruby-1.9.3-p194 - #compiling 
Error running 'make ', please read /Users/paulmcguane/.rvm/log/ruby-1.9.3-p194/make.log
There has been an error while running make. Halting the installation.

2 个答案:

答案 0 :(得分:1)

根据我的经验,避免任何问题的最佳方法是 osx-gcc-installer

答案 1 :(得分:0)