Created
September 23, 2012 11:43
-
-
Save rafops/3769930 to your computer and use it in GitHub Desktop.
installing ruby
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
git clone git://github.com/sstephenson/rbenv.git .rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc | |
echo 'eval "$(rbenv init -)"' >> ~/.bashrc | |
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz | |
tar zxvf ruby-1.9.3-p194.tar.gz | |
cd ruby-1.9.3-p194 | |
./configure --prefix=$HOME/.rbenv/versions/1.9.3-p194 | |
make | |
make install | |
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