I get the exact same error using Ubuntu 10.10 with Ruby 1.9.2p136 . I
am thrown for a loop on this one. What is wrong?
root@ubuntu-VirtualBox:/home/adminuser/Desktop/rubygems-1.4.0# ruby
./setup.rb
/home/adminuser/Desktop/rubygems-1.4.0/lib/rubygems/source_index.rb:62:in
`installed_spec_directories': undefined method `path' for Gem:Module
(NoMethodError)
from
/home/adminuser/Desktop/rubygems-1.4.0/lib/rubygems/source_index.rb:52:in
`from_installed_gems'
from /home/adminuser/Desktop/rubygems-1.4.0/lib/rubygems.rb:914:in
`source_index'
from
/home/adminuser/Desktop/rubygems-1.4.0/lib/rubygems/gem_path_searcher.rb:98:in
`init_gemspecs'
from
/home/adminuser/Desktop/rubygems-1.4.0/lib/rubygems/gem_path_searcher.rb:13:in
`initialize'
from /home/adminuser/Desktop/rubygems-1.4.0/lib/rubygems.rb:873:in
`new'
from /home/adminuser/Desktop/rubygems-1.4.0/lib/rubygems.rb:873:in
`searcher'
from /home/adminuser/Desktop/rubygems-1.4.0/lib/rubygems.rb:495:in
`find_files'
from /home/adminuser/Desktop/rubygems-1.4.0/lib/rubygems.rb:1034:in
`load_plugins'
from
/home/adminuser/Desktop/rubygems-1.4.0/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>'
root@ubuntu-VirtualBox:/home/adminuser/Desktop/rubygems-1.4.0# ruby -v
ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-linux]
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment