Skip to content

Instantly share code, notes, and snippets.

@tungpt247
Created December 8, 2015 10:25
Show Gist options
  • Save tungpt247/5a3074ab157406c3e872 to your computer and use it in GitHub Desktop.
Save tungpt247/5a3074ab157406c3e872 to your computer and use it in GitHub Desktop.
rm -rf ~/.rbenv
git clone https://github.com/rbenv/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 --list
rbenv install 2.2.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment