Live as if you were to die tomorrow. Learn as if you were to live forever.

MountainLion に Ruby 1.9.3 をインストール


ruby -v
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]
mkdir homebrew && curl -L | tar xz --strip 1 -C homebrew
brew update
brew upgrade
brew install rbenv
brew install ruby-build
vim .zshrc
eval "$(rbenv init -)" 
brew install readline
brew link readline
brew install openssl
brew link openssl
rbenv install
brew upgrade ruby-build
rbenv install -l
rbenv install 1.9.3-p194
rbenv versions
rbenv version
rbenv global 1.9.3-p194
rbenv rehash