Skip to content

Instantly share code, notes, and snippets.

@MBtech
Last active August 29, 2015 14:07
Show Gist options
  • Select an option

  • Save MBtech/4ba4c04bf120868de24f to your computer and use it in GitHub Desktop.

Select an option

Save MBtech/4ba4c04bf120868de24f to your computer and use it in GitHub Desktop.
cd
git clone git://github.com/sstephenson/rbenv.git .rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
exec $SHELL
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
exec $SHELL
rbenv install 2.1.2
rbenv global 2.1.2
ruby -v
#https://gorails.com/setup/ubuntu/14.04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment