On Jan 1, 12:00 am, "Jon W." <li...@ruby-forum.com> wrote:
> I get a error using Ubuntu 10.10 with Ruby 1.9.2p136 and trying to
> manually install the GEM package. I am thrown for a loop on this one.
> What is wrong?
>
Well ruby 1.9 comes with a version of rubygems builtin and the docs
for rubygems 1.4 say "NOTE: Ruby 1.9 ships with rubygems and contains
a very buggy "gem-prelude". It is a gem loading system that can
interfere with updating rubygems itself. We do NOT recommend you
update to rubygems 1.4 if you're running ruby 1.9.x until we get that
sorted out in a future ruby release"
Fred
> ---------------------------
> 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 viahttp://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