Created
March 15, 2011 20:04
-
-
Save vongrippen/871347 to your computer and use it in GitHub Desktop.
RubyGems Ubuntu Install
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
#!/bin/bash | |
sudo apt-get install ruby-full | |
wget http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz -O /tmp/gems | |
tar -xzvf /tmp/gems -C /tmp | |
cd /tmp/rubygems-1.6.2 | |
sudo ruby ./setup.rb | |
sudo dpkg-divert --rename --add /usr/bin/gem | |
sudo ln -s /usr/bin/gem1.8 /usr/bin/gem | |
sudo gem update --system |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment