From: Roger Pack Date: 2008-07-02T02:16:07+09:00 Subject: Re: RubyGems 1.2.0 > Sorry, i'm lost, not at this time : > ~/gems%> sudo update_rubygems > Installing RubyGems 1.2.0 > setup.rb:108: undefined method `ruby_version' for Gem:Module > (NoMethodError) > ~/gems%> gem env For some reason I had a previous version of gem that was installed in the wrong directory--like it should have been installed in /user/rdp/home/i386/bin but instead it was in /user/rdp/home/i386/bin/rdp/home/i386/bin or something. Anyway, upgrading from this state, download rubygems-1.2.0.tgz ran ruby setup.rb on it. now I get something similar: /home/rdp/i386/bin/gem:14: undefined method `ruby_version' for Gem:Module (NoMethodError) This means that [in this one system] even installing it from scratch again doesn't fix the problem. Not sure what to do. Even deleting *gem*.rb from my ruby lib directory yields /home/rdp/i386/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:29: warning: already initialized constant OPS /home/rdp/i386/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:32: warning: already initialized constant OP_RE /home/rdp/i386/usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:24: Platform is not a module (TypeError) from /home/rdp/i386/usr/lib/ruby/site_ruby/1.8/rubygems/package.rb:15:in `require' from /home/rdp/i386/usr/lib/ruby/site_ruby/1.8/rubygems/package.rb:15 from /home/rdp/i386/usr/lib/ruby/site_ruby/1.8/rubygems/builder.rb:7:in `require' from /home/rdp/i386/usr/lib/ruby/site_ruby/1.8/rubygems/builder.rb:7 from /home/rdp/i386/lib/ruby/site_ruby/1.8/rubygems.rb:769:in `require' from /home/rdp/i386/lib/ruby/site_ruby/1.8/rubygems.rb:769 from /home/rdp/i386/bin/gem:8:in `require' from /home/rdp/i386/bin/gem:8 Hmm. Thankfully it's on a system where I don't really NEED gems, but they are convenient. Thanks! -R -- Posted via http://www.ruby-forum.com/.