3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

rvm install ruby2.0.0p1.95 # 少しつまずく人向け

3
Posted at

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

いろいろ試してみます。

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?