Skip to content

Instantly share code, notes, and snippets.

@wata-gh
Last active October 21, 2015 07:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wata-gh/7f813b7e214a7b9846a3 to your computer and use it in GitHub Desktop.
Save wata-gh/7f813b7e214a7b9846a3 to your computer and use it in GitHub Desktop.
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
source ~/.bash_profile
rbenv install 2.2.3
rbenv global 2.2.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment