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

E

Evan B.

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)


Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,225
Members
46,815
Latest member
treekmostly22

Latest Threads

Top