OS X 10.7.5
少しつまずく人向け
rvm get stable
rvm install 2.0.0
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.7/x86_64/ruby-2.0.0-p195.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Installing requirements for osx, might require sudo password.
Xcode version older than 4.6.2 installed, download and install newer version from:
http://connect.apple.com
After installation open Xcode, go to Downloads and install Command Line Tools.
おお、Xcodeアップデートしてなかった。
App Storeからアップデート。再チャレンジ。
rvm install 2.0.0
Installing required packages: libtool, libxml2, libxslt, libksba. - using ZSH, can not show progress, be patient...
Error running 'requirements_osx_brew_libs_install libtool libxml2 libxslt libksba',
please read /Users/takashi/.rvm/log/ruby-2.0.0-p195/1369112252_package_install_libtool_libxml2_libxslt_libksba.log
なんか自動で入らなかった系?
brew install libtool
brew install libxml2
brew install libxslt
brew install libksba
rvm requirements
rvm install 2.0.0
やっと入ったどー!
rvm list
rvm rubies
=* ruby-1.9.3-p327 [ x86_64 ]
ruby-1.9.3-p362 [ x86_64 ]
ruby-2.0.0-p0 [ x86_64 ]
ruby-2.0.0-p195 [ x86_64 ]
rvm use ruby-2.0.0-p195
デフォルトで使いたい猛者は、
rvm use ruby-2.0.0-p195 --default
いろいろ試してみます。