铁路安装问题

时间:2010-06-08 14:42:05

标签: ruby-on-rails

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)

继续收到上述错误,尝试了其他相关问题,谷歌无济于事,请帮助!!

提前致谢

威尔

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

2 个答案:

答案 0 :(得分:0)

输出是什么:

gem env

您是否尝试过更新宝石系统?

gem update --system

答案 1 :(得分:0)

ruby​​gems.org在过去一天左右出现了网络问题。它可能只是更多,而你的结果没有。请耐心等待并继续努力。