Forum: Ruby changing the gems version for ruby1.9 (in Ubuntu)

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Evan B. (Guest)
on 2008-10-27 08:45
I need a newer version of gems visible to my ruby1.9 installation.
Ruby1.9 came bundled with an old version of gems.

I have another gem installation which is visible to my ruby1.8
installation that would work, but I can not figure out how to do either
one of the following:
a)set the 1.9 ruby to use the other version of ruby gems that I have
installed on my computer
b)upgrade the gems currently working with ruby1.9

when I try to run:
$sudo gem1.9 update --system

I get the following:
ERROR:  While executing gem ... (RuntimeError)
    gem update --system is disabled on Debian. RubyGems can be updated
using the official Debian repositories by aptitude or apt-get.

but this works fine:
($sudo gem update --system)

This topic is locked and can not be replied to.