2013-02-19 67 views
0

你好我试图让红宝石编译在OSX 10.8山狮与RVM,虽然我不断收到以下错误红宝石不上编制狮子山区

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

回答

1

从我的经验,以避免任何问题的最好办法是 osx-gcc-installer

+0

嗨,我有安装GCC通过xcode – 2013-02-19 11:26:55

+1

你需要Xco的gcc de 4.2完全(没有LLVM) – 2013-02-19 11:30:04

+0

只是注意到我有xcode 4.6 – 2013-02-19 11:53:27