-2
我試圖安裝ruby 1.9.3,而且這段代碼還在繼續。我已經安裝libksba,但不能去THROU請HEL我出去ruby 1.9.3在mac os上安裝10.8.2
MarioVMtz$ rvm install ruby-1.9.3-p362
Notes for Mac OS X 10.8.2, Xcode 4.5.2.
For JRuby: Install the JDK. See http://developer.apple.com/java/download/ # Current Java version "1.6.0_26"
For IronRuby: Install Mono >= 2.6
For Ruby 1.9.3: Install libksba # If using Homebrew, 'brew install libksba'
For Opal: Install Nodejs with NPM. See http://nodejs.org/download/
To use an RVM installed Ruby as default, instead of the system ruby:
rvm install 1.8.7 # installs patch 357: closest supported version
rvm system ; rvm gemset export system.gems ; rvm 1.8.7 ; rvm gemset import system.gems # migrate your gems
rvm alias create default 1.8.7
And reopen your terminal windows.
Xcode and gcc:
Right now Ruby requires gcc to compile, but Xcode 4.2 and later no longer ship with gcc. Instead they ship with llvm-gcc (to which gcc is a symlink) and clang, neither of which are supported for building Ruby. Xcode 4.1 was the last version to ship gcc, which was /usr/bin/gcc-4.2.
:
這是真的很難明白你問什麼,因爲你的文字有可能是什麼代碼響應混合。請花時間使用內置的[Markdown格式化選項](http://stackoverflow.com/editing-help)重新格式化您的問題,並刪除非必要的文本。包括您收到的任何錯誤消息。 –
你讀過「[如何在Mac OS X Lion中安裝Ruby 1.9.3?](http://stackoverflow.com/questions/8139138/how-can-i-install-ruby-1-9-3- in-mac-os-x-lion)「並且它有幫助嗎? –
最近幾天我在OS X上看到了幾個關於如何在R X上安裝Ruby的問題。請檢查http://stackoverflow.com/questions/14022151/installing-ruby-via-rvm-fails-to-configure/14037035#comment19402808_14037035和更多的倒退。幾個月前,我在山獅上安裝了幾個RVM紅寶石。這不像文件聲稱的那麼容易。不幸的是,我不記得我必須做些什麼才能使它工作。 Xcode 4.1?沒有回憶。祝你好運。 – user1852994