最近參考XDite寫的Rails101嘗試安裝
結果卡在無法安裝REE,總是會出現:
ERROR: Error running './installer -a
/Users/APPLE/.rvm/rubies/ree-1.8.7-2011.03 --no-tcmalloc
--dont-install-useful-gems ', please read
/Users/APPLE/.rvm/log/ree-1.8.7-2011.03/install.log
ERROR: There has been an error while trying to run the ree installer. Halting
the installation.
訊息提示要我去參考install.log
但我看不懂log...所以就把log檔貼上來請各位幫幫忙
另外請問Mac OS X 10.7.3是不是有內建ruby?
因為我在終端機輸入ruby -v會顯示
ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]
會這樣問是因為我還沒用RVM安裝任何ruby版本
/Users/APPLE/.rvm/src/內只有3個資料夾[rvm] [rvm-1.10.0] [yaml-0.1.4]
其實你用這串錯誤訊息去 google 就會發現到答案~是Xcode的關係
http://miau715.blogspot.com/2011/12/lionree-ruby-enterprise-edition.html
對~MAC OS有內建 ruby
可以下指令打 which ruby 應該你應該就能明瞭了!
MacOS上應該還是MacRuby最好,不過我沒有Mac
可以看看stackoverflow上的答案 http://stackoverflow.com/questions/6804195/cant-install-ruby-enterprise-edition-with-rvm-on-osx-lion