嗨我想尝试使用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.
答案 0 :(得分:1)
根据我的经验,避免任何问题的最佳方法是 osx-gcc-installer
答案 1 :(得分:0)
您是否看到了make.log文件和错误?它可能是流行的readline错误。为此请参考。
Error when installing Ruby 1.9.3 on Mac OS X Lion
或者,
Make error installing Ruby 1.9.2 via rvm OSX Lion 10.7.2 XCode 4.2
Make error installing Ruby 1.9.2 with RVM and Readline under OSX Lion