Home > develop, unix/linux > rubygems-update issue on Ubuntu

rubygems-update issue on Ubuntu

September 30th, 2008 Leave a comment Go to comments

rubygems-update issue on Ubuntu

If you have this problem on your computer:

sudo gem update --system
Updating RubyGems
Bulk updating Gem source index for: http://gems.rubyforge.org/
Updating rubygems-update
ERROR:  While executing gem ... (Gem::GemNotFoundException)
    could not find rubygems-update locally or in a repository

The problem is RubyGems you need to install manually or use this script solution:

#!/bin/bash
#(download the latest on http://rubyforge.org/frs/?group_id=126)
wget http://rubyforge.org/frs/download.php/43984/rubygems-update-1.3.0.gem
sudo gem install rubygems-update-1.3.0.gem
sudo update_rubygems
# now this work:
sudo gem update --system
echo "done."

I found this solution on this web:

http://rubyglasses.blogspot.com/2008/08/updating-gem-to-120-on-ubuntu.html

Categories: develop, unix/linux Tags: , ,
  1. October 22nd, 2008 at 09:20 | #1
    Surfing Firefox 3.0.3 Firefox 3.0.3 on Ubuntu Ubuntu

    This was a lifesaver, thanks!

  2. Allan
    November 1st, 2008 at 15:00 | #2
    Surfing Firefox 3.0.3 Firefox 3.0.3 on Ubuntu Ubuntu

    Thanks a lot. This was just what i needed :)

  3. Jason B
    December 3rd, 2008 at 20:39 | #3
    Surfing Firefox 3.0.3 Firefox 3.0.3 on Ubuntu Ubuntu

    +1 on lifesaver. Had the same issue when going to Rails 2.2.

  4. Farhad
    February 18th, 2010 at 02:38 | #4
    Surfing Safari 531.21.10 Safari 531.21.10 on Mac OS Mac OS

    Thank you!

  1. No trackbacks yet.

Switch to our mobile site