Skip to content

Instantly share code, notes, and snippets.

@samsonjs
Created August 18, 2010 23:23
Show Gist options
  • Save samsonjs/536512 to your computer and use it in GitHub Desktop.
Save samsonjs/536512 to your computer and use it in GitHub Desktop.
cd /tmp
wget http://rubyforge.org/frs/download.php/70696/rubygems-1.3.7.tgz
tar zxf rubygems-1.3.7.tgz
cd rubygems-1.3.7
ruby setup.rb --prefix=/usr/local
ln -svf /usr/local/bin/gem1.8 /usr/local/bin/gem
export RUBYLIB=/usr/local/lib
echo "export RUBYLIB=/usr/local/lib" >> /root/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment