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 开发者_Python百科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
What is the output of:
gem env
Have you tried updating your gem system?
gem update --system
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.
精彩评论