Skip to content

Instantly share code, notes, and snippets.

@masamitsu-konya
Created March 4, 2014 12:17
Show Gist options
  • Save masamitsu-konya/9345480 to your computer and use it in GitHub Desktop.
Save masamitsu-konya/9345480 to your computer and use it in GitHub Desktop.
MacのRubyのバージョンを 2.1.1 に上げてみた ref: http://qiita.com/masamitsu-konya/items/3eb633b035c89d1751d4
brew update
brew upgrade ruby-build
rbenv install -l
...
2.0.0-rc1
2.0.0-rc2
2.1.0-dev
2.1.0-preview1
jruby-1.5.6
...
cd ~/.rbenv/plugin/ruby-build
git pull origin master
rbenv install -l
...
2.1.0-rc1
2.1.1
2.2.0-dev
...
rbenv install 2.1.1
rbenv versions
system
1.9.3-p392
1.9.3-p448
* 2.0.0-p247 (set by /Users/masamitsu/.rbenv/version)
2.1.1
rbenv global 2.1.1
rbenv versions
system
1.9.3-p392
1.9.3-p448
2.0.0-p247
* 2.1.1 (set by /Users/masamitsu/.rbenv/version)
sudo rbenv uninstall 1.9.3-p392
sudo rbenv uninstall 1.9.3-p448
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment