Created
March 29, 2013 04:27
-
-
Save michaeldelorenzo/5268750 to your computer and use it in GitHub Desktop.
Used this script to install rbenv on a fresh Ubuntu 12.10 server.
This file contains 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
sudo apt-get install zlib1g-dev openssl libopenssl-ruby1.9.1 libssl-dev libruby1.9.1 libreadline-dev git-core make | |
git clone git://github.com/sstephenson/rbenv.git .rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc | |
echo 'eval "$(rbenv init -)"' >> ~/.bashrc | |
exec $SHELL | |
mkdir -p ~/.rbenv/plugins | |
cd ~/.rbenv/plugins | |
git clone git://github.com/sstephenson/ruby-build.git | |
rbenv install 1.9.3-p194 | |
rbenv rehash | |
rbenv global 1.9.3-p194 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment