Skip to content

Instantly share code, notes, and snippets.

@sonots
Last active December 11, 2015 08:58
Show Gist options
  • Save sonots/4577076 to your computer and use it in GitHub Desktop.
Save sonots/4577076 to your computer and use it in GitHub Desktop.
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc
exec $SHELL -l
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
CONFIGURE_OPTS="--with-readline-dir=/usr/local/opt/readline --with-openssl-dir=/usr/local/opt/openssl" rbenv install 1.9.3-p194
rbenv rehash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment