Created
January 15, 2014 08:09
-
-
Save j1n6/8432514 to your computer and use it in GitHub Desktop.
Rbenv install steps
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
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.0.0-p353 | |
rbenv global 2.0.0-p353 | |
ruby -v | |
#The last step is to tell Rubygems not to install the documentation for each package locally | |
echo "gem: --no-ri --no-rdoc" > ~/.gemrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment