0

嗨,我正在尝试让 ruby​​ 使用 rvm 在 osx 10.8 山狮上编译,尽管我不断收到以下错误

$ 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.
4

2 回答 2

1

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

于 2013-02-19T11:14:16.883 回答
0

您看到 make.log 文件和错误了吗?这可能是流行的 readline 错误。为此,请参阅此。

在 Mac OS X Lion 上安装 Ruby 1.9.3 时出错

或者,

通过 rvm OSX Lion 10.7.2 XCode 4.2 安装 Ruby 1.9.2 时出错

在 OSX Lion 下使用 RVM 和 Readline 安装 Ruby 1.9.2 时出错

于 2013-02-19T11:11:38.897 回答