2013-02-19 55 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