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.
Sal e. M. (Guest)
on 2008-10-26 02: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
Khaled mahmud K. (Guest)
on 2008-10-28 11: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.