Skip to content

Instantly share code, notes, and snippets.

@shu0115
Created December 27, 2013 12:00
Show Gist options
  • Save shu0115/8146135 to your computer and use it in GitHub Desktop.
Save shu0115/8146135 to your computer and use it in GitHub Desktop.
Ruby 2.1.0-p0インストール ref: http://qiita.com/shu_0115/items/ba33b692373f002cc568
brew update
----------
First, rewinding head to replay your work on top of it...
Fast-forwarded master to e126ec926b38ccfcc7c46d3ba32b85afd1ba63d2.
Current branch master is up to date.
Updated Homebrew from f47755f3 to e126ec92.
----------
==> Deleted Formulae
aimage cmucl darner jscoverage lmutil mlxcc nlopt
brainfuck comparepdf flex_sdk jsl metasploit mt-daapd pngrewrite
brew upgrade ruby-build
----------
==> Upgrading 1 outdated package, with result:
ruby-build 20131225.1
==> Upgrading ruby-build
==> Downloading https://github.com/sstephenson/ruby-build/archive/v20131225.1.tar.gz
######################################################################## 100.0%
==> ./install.sh
🍺 /usr/local/Cellar/ruby-build/20131225.1: 102 files, 448K, built in 2 seconds
----------
rbenv install -l | grep 2.1.0
----------
2.1.0
2.1.0-dev
2.1.0-preview1
2.1.0-preview2
2.1.0-rc1
rbx-2.1.0
----------
RUBY_CONFIGURE_OPTS="--with-readline-dir=$(brew --prefix readline) --with-openssl-dir=$(brew --prefix openssl)" rbenv install 2.1.0
rbenv global 2.1.0
ruby -v
----------
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin12.0]
----------
rbenv version
----------
2.1.0 (set by /Users/shu/.rbenv/version)
----------
rbenv rehash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment