Hi,
I'm running ruby 1.8.5 (2006-08-25) [i686-linux]
I tried:
gem update --system
And, at the end of the install, got the following error:
Successfully built RubyGem
Name: sources
Version: 0.0.1
File: sources-0.0.1.gem
hook /opt/lib/ruby/gems/1.8/gems/rubygems-update-0.9.2/./post-install.rb failed:
undefined method `post_install_message' for #<Gem::Specification:0x49ba176c>
Try 'ruby setup.rb --help' for detailed usage.
RubyGems system software updated
Now, subsequent invocations of `gem` produce the following error:
gem list --remote > gems.txt
ERROR: While executing gem ... (NoMethodError)
undefined method `refresh' for #<Hash:0x55d0d2d4>
gem update --system
Updating RubyGems...
ERROR: While executing gem ... (NoMethodError)
undefined method `refresh' for #<Hash:0x5364d414>
Anyone else experienced this?
I'll try reinstalling rubygems from source..
Regards,
Bill
Something has gone bonkers with your source cache. Mine is in
~/.gem/source_cache on OS X. Remove that and you should be able to
work again.
-austin
···
On 2/10/07, Bill Kelly <billk@cts.com> wrote:
Now, subsequent invocations of `gem` produce the following error:
gem list --remote > gems.txt
ERROR: While executing gem ... (NoMethodError)
undefined method `refresh' for #<Hash:0x55d0d2d4>
gem update --system
Updating RubyGems...
ERROR: While executing gem ... (NoMethodError)
undefined method `refresh' for #<Hash:0x5364d414>
--
Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/
* austin@halostatue.ca * You are in a maze of twisty little passages, all alike. // halo • statue
* austin@zieglers.ca
I'll try reinstalling rubygems from source..
Rats... the reinstall from source appeared to complete without
errors, but I still get:
gem list --remote > gems.txt
ERROR: While executing gem ... (NoMethodError)
undefined method `refresh' for #<Hash:0x4edb22b8>
Regards,
Bill
Now, subsequent invocations of `gem` produce the following error:
gem list --remote > gems.txt
ERROR: While executing gem ... (NoMethodError)
undefined method `refresh' for #<Hash:0x55d0d2d4>
gem update --system
Updating RubyGems...
ERROR: While executing gem ... (NoMethodError)
undefined method `refresh' for #<Hash:0x5364d414>
Something has gone bonkers with your source cache. Mine is in
~/.gem/source_cache on OS X. Remove that and you should be able to
work again.
Thanks Austin, that fixed it!
(Mine was in: /opt/lib/ruby/gems/1.8/source_cache )
Regards,
Bill
···
From: "Austin Ziegler" <halostatue@gmail.com>
On 2/10/07, Bill Kelly <billk@cts.com> wrote: