Skip to content

Instantly share code, notes, and snippets.

@1951FDG
Last active December 10, 2017 15:57
Show Gist options
  • Save 1951FDG/7c961b1f49d83451e167 to your computer and use it in GitHub Desktop.
Save 1951FDG/7c961b1f49d83451e167 to your computer and use it in GitHub Desktop.
Installing Ruby with Rbenv
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