Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
rbenv で新しめの ruby をインストールしたい
$ ruby-build
ruby-build 20121104
usage: ruby-build [-k|--keep] [-v|--verbose] definition prefix
ruby-build --definitions
$ brew unlink ruby-build
Unlinking /usr/local/Cellar/ruby-build/20121104... 4 links removed
$ brew install --HEAD ruby-build
==> Cloning
Cloning into '/Library/Caches/Homebrew/ruby-build--git'...
remote: Counting objects: 87, done.
remote: Compressing objects: 100% (65/65), done.
remote: Total 87 (delta 33), reused 41 (delta 16)
Unpacking objects: 100% (87/87), done.
==> ./
/usr/local/Cellar/ruby-build/HEAD: 58 files, 256K, built in 10 seconds
$ ruby-build
ruby-build 20121120
usage: ruby-build [-k|--keep] [-v|--verbose] definition prefix
ruby-build --definitions
$ rbenv install
1.9.3-p327 (省略 新しいものが入っている)
$ rbenv install 1.9.3-p327
Downloading yaml-0.1.4.tar.gz...
Installing yaml-0.1.4...
Installed yaml-0.1.4 to /Users/imaz/.rbenv/versions/1.9.3-p327
Downloading ruby-1.9.3-p327.tar.gz...
Installing ruby-1.9.3-p327...
Installed ruby-1.9.3-p327 to /Users/imaz/.rbenv/versions/1.9.3-p327
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment