Skip to content

Instantly share code, notes, and snippets.

@rummelonp
Last active December 14, 2015 04:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rummelonp/5027706 to your computer and use it in GitHub Desktop.
Save rummelonp/5027706 to your computer and use it in GitHub Desktop.
rbenv で必要な ruby 入れるやつ
# install rbenv
brew install rbenv ruby-build
# setup rbenv
export RBENV_ROOT=/usr/local/var/rbenv
eval "$(rbenv init -)"
# install readline
brew install readline
# install openssl
brew install openssl
# 1.9.3
RUBY_CONFIGURE_OPTS="--with-readline-dir=$(brew --prefix readline) --with-openssl-dir=`brew --prefix openssl`" rbenv install 1.9.3-p429
# 2.0.0
RUBY_CONFIGURE_OPTS="--with-readline-dir=$(brew --prefix readline) --with-openssl-dir=`brew --prefix openssl`" rbenv install 2.0.0-p247
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment