Forum: Ruby on Rails Gem update problem - (gem update --system)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2f1546c58ebf1d39b206d104e855e296?d=identicon&s=25 Sal e. Mander (ruby-grok)
on 2008-10-26 00:25
Hello,

Running Windows XP SP2

From the ruby directory:

d:\Ruby\bin>gem update --system
Updating RubyGems
ERROR:  While executing gem ... (NoMethodError)
    undefined method `uid' for nil:NilClass


From the InstantRails directory:

D:\rails\rails_apps>gem update --system
Updating RubyGems
ERROR:  While executing gem ... (NoMethodError)
    undefined method `uid' for nil:NilClass


Any suggestions?

Thanks, Lawrence
332edc8afd6760765bc112cb52fdc63f?d=identicon&s=25 Khaled mahmud Khaled (khaled200)
on 2008-10-28 10:16
You have to do the following things

1 Uninstall the Ruby first.
2. Install the ruby again. Let the computer to choice the folder itself.
Normally the computer will choice "C:\" to setup Ruby.
3. Then go to C: drive and type "gem update --system" in the command
prompt. It looks like "C:\gem update --System" and press enter.
4. Thats it. It will update automatically.


Thanks

Khaled
This topic is locked and can not be replied to.