views:

75

answers:

2
C:\rubygems-1.3.7>gem install rails ruby-debug capistrano rspec ZenTest webrat  image_scie
nce mini_magick mechanize RedCloth  fastercsv piston sashimi ruport json newgem open4 rubi
gen --no-ri --no-rdoc
WARNING:  RubyGems 1.2+ index not found for:
        http://rubygems.org/
        http://gems.rubyforge.org
        http://gems.rubyforge.org

RubyGems will revert to legacy indexes degrading performance.
Bulk updating Gem source index for: http://rubygems.org/
ERROR:  While executing gem ... (Gem::RemoteSourceException)
    Error fetching remote gem cache: SocketError: getaddrinfo: no address associated with
hostname. (http://rubygems.org/yaml)

Keep getting the above error, tried other linked questions and google to no avail, please help!!

Thanks in advance

Will.

gems env :

C:\rubygems-1.3.7>gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.7
  - RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
  - INSTALLATION DIRECTORY: C:/Ruby/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: C:/Ruby/bin/ruby.exe
  - EXECUTABLE DIRECTORY: C:/Ruby/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-mswin32-60
  - GEM PATHS:
     - C:/Ruby/lib/ruby/gems/1.8
     - C:/Users/Will/.gem/ruby/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
     - :sources => ["http://rubygems.org"]
  - REMOTE SOURCES:
     - http://rubygems.org
A: 

What is the output of:

gem env

Have you tried updating your gem system?

gem update --system
ThinkBohemian
gem envC:\rubygems-1.3.7>gem envRubyGems Environment: - RUBYGEMS VERSION: 1.3.7 - RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32] - INSTALLATION DIRECTORY: C:/Ruby/lib/ruby/gems/1.8 - RUBY EXECUTABLE: C:/Ruby/bin/ruby.exe - EXECUTABLE DIRECTORY: C:/Ruby/bin - RUBYGEMS PLATFORMS: - ruby - x86-mswin32-60 - GEM PATHS: - C:/Ruby/lib/ruby/gems/1.8 - C:/Users/Will/.gem/ruby/1.8 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000
WANNABE
- :sources => ["http://rubygems.org"] - REMOTE SOURCES: - http://rubygems.org
WANNABE
Tried the update:C:\rubygems-1.3.7>gem update --systemUpdating RubyGemsWARNING: RubyGems 1.2+ index not found for: http://rubygems.orgRubyGems will revert to legacy indexes degrading performance.Bulk updating Gem source index for: http://rubygems.org/ERROR: While executing gem ... (Gem::RemoteSourceException) Error fetching remote gem cache: SocketError: getaddrinfo: no address associated withhostname. (http://rubygems.org/yaml)Thanks for responding mate.
WANNABE
A: 

rubygems.org has had network problems in the past day or so. It's probably just more of that and nothing on your end. Just be patient and keep trying.

x1a4