4
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.

Homebrewでインストールしたruby-buildのアップグレードの仕方

Last updated at Posted at 2013-03-01

rbenvで ruby-2.0.0-p0 をインストールしたいんだけど、ruby-buildが古いと 2.0.0-p0 が選択肢に出てこない。そんなときは ruby-build をアップグレードする。

以下はHomebrewでインストールしたruby-buildのアップグレードの手順。

brew update
brew upgrade ruby-build
rbenv install -l

これで 2.0.0-p0 が表示されればOK。

あとはいつも通りにインストールする。

rbenv install 2.0.0-p0
rbenv global 2.0.0-p0
rbenv rehash
4
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
4
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?