Rubyの準備 for OS X の続き。
rbenvでは最新パッチのものが出てこなかったので、まずはこっちからバージョンアップ。
ruby-build のアップデート。
単純にやったらエラーになったので、以下の手順で。
$ sudo chown -R `whoami` /usr/local
$ cd `brew --prefix`
$ git fetch origin
remote: Counting objects: 300, done.
remote: Compressing objects: 100% (149/149), done.
remote: Total 300 (delta 114), reused 299 (delta 113)
Receiving objects: 100% (300/300), 110.70 KiB | 91 KiB/s, done.
Resolving deltas: 100% (114/114), done.
From https://github.com/Homebrew/homebrew
* [new branch] gh-pages -> origin/gh-pages
* [new branch] go -> origin/go
$ git reset --hard origin/master
HEAD is now at 6bd076d dub 0.9.20
$ brew update
Already up-to-date.
$ brew upgrade ruby-build
==> Upgrading 1 outdated package, with result:
ruby-build 20131220
==> Upgrading ruby-build
==> Downloading https://github.com/sstephenson/ruby-build/archive/v20131220.tar.
######################################################################## 100.0%
==> ./install.sh