Skip to content

Instantly share code, notes, and snippets.

@rafops
Created September 23, 2012 11:43
Show Gist options
  • Save rafops/3769930 to your computer and use it in GitHub Desktop.
Save rafops/3769930 to your computer and use it in GitHub Desktop.
installing ruby
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