Last active
December 10, 2017 15:57
-
-
Save 1951FDG/7c961b1f49d83451e167 to your computer and use it in GitHub Desktop.
Installing Ruby with Rbenv
This file contains hidden or 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
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile | |
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile | |
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
rbenv install -l | |
rbenv install 1.9.3-p551 | |
ruby -v | |
rbenv global 1.9.3-p551 | |
rbenv rehash | |
ruby -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment