Last active
December 17, 2015 00:09
-
-
Save yudai/5518417 to your computer and use it in GitHub Desktop.
rbenv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get -y install build-essential libreadline-dev libssl-dev zlib1g-dev git | |
git clone http://github.com/sstephenson/rbenv.git ~/.rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile | |
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile | |
exec $SHELL -l | |
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
rbenv install 1.9.3-p484 | |
rbenv global 1.9.3-p484 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment