Luis said:
This indicates a problem with a RubyForge mirror.
I ran the command with the debug option and i got this error trace
=============================================================================
Exception `NameError' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:134 -
uninitialized constant Gem::Commands
::UpdateCommand
Updating RubyGems
Exception `Gem::LoadError' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:636 - RubyGem version error:
sources(0.0.1 not > 0.0.
1)
Exception `SocketError' at c:/ruby/lib/ruby/1.8/net/http.rb:564 -
getaddrinfo: no address associated with hostname.
Exception `Gem::RemoteFetcher::FetchError' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:150 -
SocketError: get
addrinfo: no address associated with hostname.
(
http://gems.rubyforge.org/latest_specs.4.8.gz)
Exception `SocketError' at c:/ruby/lib/ruby/1.8/net/http.rb:564 -
getaddrinfo: no address associated with hostname.
Exception `Gem::RemoteFetcher::FetchError' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:150 -
SocketError: get
addrinfo: no address associated with hostname.
(
http://gems.rubyforge.org/specs.4.8.gz)
Exception `SocketError' at c:/ruby/lib/ruby/1.8/net/http.rb:564 -
getaddrinfo: no address associated with hostname.
Exception `Gem::RemoteFetcher::FetchError' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:150 -
SocketError: get
addrinfo: no address associated with hostname.
(
http://gems.rubyforge.org/yaml)
ERROR:
http://gems.rubyforge.org/ does not appear to be a repository
Exception `Gem::RemoteFetcher::FetchError' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:149 -
SocketError: getad
drinfo: no address associated with hostname.
(
http://gems.rubyforge.org/yaml)
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
SocketError: getaddrinfo: no address associated with hostname.
(
http://gems.rubyforge.org/yaml)
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:150:in
`fetch_path'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:157:in
`fetch_size'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:146:in
`legacy_repos'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:138:in
`reject'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:138:in
`legacy_repos'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:235:in
`warn_legacy'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:150:in
`which_to_update'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:140:in
`each'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:140:in
`which_to_update'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:75:in
`execute'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command.rb:136:in
`invoke'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:105:in
`process_args'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:75:in
`run'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:39:in
`run'
c:/ruby/bin/gem:24
=====================================
I'm not able to identify whether this is the problem with Mirror or my
system's ruby configuration.
If it is the problem with my PC please help how to solve it.
Thanks
Preethi