Bugs item #28876, was opened at 2011-01-22 06:33
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28876&group_id=126

Category: RubyGems installer (setup.rb)
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 3
Submitted By: guillaume Dorchies (gdorchie)
Assigned to: Nobody (None)
Summary: undefined method `path' for Gem:Module (NoMethodError)

Initial Comment:
I use rvm and bundler 1.0.7 and I try to update RubyGems

Updating RubyGems
Updating rubygems-update
Successfully installed rubygems-update-1.4.2
Updating RubyGems to 1.4.2
Installing RubyGems 1.4.2
/home/gdo/.rvm/gems/ruby-1.9.2-p136@manag/gems/rubygems-update-1.4.2/lib/rubygems/source_index.rb:62:in
 `installed_spec_directories': undefined method `path' for Gem:Module 
(NoMethodError)
        from 
/home/gdo/.rvm/gems/ruby-1.9.2-p136@manag/gems/rubygems-update-1.4.2/lib/rubygems/source_index.rb:52:in
 `from_installed_gems'
        from 
/home/gdo/.rvm/gems/ruby-1.9.2-p136@manag/gems/rubygems-update-1.4.2/lib/rubygems.rb:914:in
 `source_index'
        from 
/home/gdo/.rvm/gems/ruby-1.9.2-p136@manag/gems/rubygems-update-1.4.2/lib/rubygems/gem_path_searcher.rb:83:in
 `init_gemspecs'
        from 
/home/gdo/.rvm/gems/ruby-1.9.2-p136@manag/gems/rubygems-update-1.4.2/lib/rubygems/gem_path_searcher.rb:13:in
 `initialize'
        from 
/home/gdo/.rvm/gems/ruby-1.9.2-p136@manag/gems/rubygems-update-1.4.2/lib/rubygems.rb:873:in
 `new'
        from 
/home/gdo/.rvm/gems/ruby-1.9.2-p136@manag/gems/rubygems-update-1.4.2/lib/rubygems.rb:873:in
 `searcher'
        from 
/home/gdo/.rvm/gems/ruby-1.9.2-p136@manag/gems/rubygems-update-1.4.2/lib/rubygems.rb:495:in
 `find_files'
        from 
/home/gdo/.rvm/gems/ruby-1.9.2-p136@manag/gems/rubygems-update-1.4.2/lib/rubygems.rb:1034:in
 `load_plugins'
        from 
/home/gdo/.rvm/gems/ruby-1.9.2-p136@manag/gems/rubygems-update-1.4.2/lib/rubygems/gem_runner.rb:84:in
 `<top (required)>'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from setup.rb:25:in `<main>'

best regards

----------------------------------------------------------------------

>Comment By: Luis Lavena (luislavena)
Date: 2011-01-22 10:12

Message:
You can't update to RubyGems 1.4.2 with Ruby 1.9.2:

https://github.com/rubygems/rubygems/blob/v1.4.2/History.txt#L13
https://github.com/rubygems/rubygems/blob/master/UPGRADING.rdoc

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28876&group_id=126
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to