1 Jan 2011 01:15
update_rubygems problem
Mustafa M. <mustafakyr <at> gmail.com>
2011-01-01 00:15:12 GMT
2011-01-01 00:15:12 GMT
I am using ubuntu 10.04. Downloaded ruby-1.9.2-p136 and installed it successfully. Then I tried to update rubygems, but whatever I try it does not work. > sudo update_rubygems or > sudo gem update --system or >cd /usr/local/ruby/gems/1.9.1/gems/rubygems-update-1.4.0 > sudo ruby setup.rb error occours like this: >sudo gem update --system Updating RubyGems Updating rubygems-update Successfully installed rubygems-update-1.4.0 Updating RubyGems to 1.4.0 Installing RubyGems 1.4.0 /usr/local/ruby/gems/1.9.1/gems/rubygems-update-1.4.0/lib/rubygems/source_index.rb:62:in `installed_spec_directories': undefined method `path' for Gem:Module (NoMethodError) from /usr/local/ruby/gems/1.9.1/gems/rubygems-update-1.4.0/lib/rubygems/source_index.rb:52:in `from_installed_gems' from /usr/local/ruby/gems/1.9.1/gems/rubygems-update-1.4.0/lib/rubygems.rb:914:in `source_index' from /usr/local/ruby/gems/1.9.1/gems/rubygems-update-1.4.0/lib/rubygems/gem_path_searcher.rb:98:in(Continue reading)
RSS Feed