Hi all,

Anyone had this? I'm on V1.2 of gem, and I can't get anything to update.
"gem update --system" results in an invalid gem error (below). Am I being
thick? I'm a bit rusty at this because its always been pretty smooth for me
in the past...

Matt.


matthew-robertss-imac:rails_apps matt$ gem -v
1.2.0
matthew-robertss-imac:rails_apps matt$ gem update --system --debug
Exception `NameError' at
/Library/Ruby/Site/1.8/rubygems/command_manager.rb:134 - uninitialized
constant Gem::Commands::UpdateCommand
Updating RubyGems
Updating rubygems-update
Exception `Gem::Package::FormatError' at
/Library/Ruby/Site/1.8/rubygems/package/tar_input.rb:112 - No metadata
found!
Exception `Gem::InstallError' at
/Library/Ruby/Site/1.8/rubygems/installer.rb:85 - invalid gem format for
/Library/Ruby/Gems/1.8/cache/rubygems-update-1.3.1.gem
ERROR:  While executing gem ... (Gem::InstallError)
    invalid gem format for
/Library/Ruby/Gems/1.8/cache/rubygems-update-1.3.1.gem
    /Library/Ruby/Site/1.8/rubygems/installer.rb:85:in `initialize'
    /Library/Ruby/Site/1.8/rubygems/dependency_installer.rb:234:in `new'
    /Library/Ruby/Site/1.8/rubygems/dependency_installer.rb:234:in `install'
    /Library/Ruby/Site/1.8/rubygems/dependency_installer.rb:217:in `each'
    /Library/Ruby/Site/1.8/rubygems/dependency_installer.rb:217:in `install'
    /Library/Ruby/Site/1.8/rubygems/commands/update_command.rb:78:in
`execute'
    /Library/Ruby/Site/1.8/rubygems/commands/update_command.rb:74:in `each'
    /Library/Ruby/Site/1.8/rubygems/commands/update_command.rb:74:in
`execute'
    /Library/Ruby/Site/1.8/rubygems/command.rb:136:in `invoke'
    /Library/Ruby/Site/1.8/rubygems/command_manager.rb:105:in `process_args'
    /Library/Ruby/Site/1.8/rubygems/command_manager.rb:75:in `run'
    /Library/Ruby/Site/1.8/rubygems/gem_runner.rb:39:in `run'
    /usr/bin/gem:24
matthew-robertss-imac:rails_apps matt$


--

Matt Roberts

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NWRUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nwrug-members?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to