WARNING: RubyGems 1.2+ index not found for: http://gems.rubyforge.org/

WARNING:  RubyGems 1.2+ index not found for:
        http://gems.rubyforge.org/
ERROR:  While executing gem ... (Gem::RemoteSourceException)
    Error fetching remote gem cache: SocketError: getaddrinfo: 存储控制块被损坏
。  (http://gems.rubyforge.org/yaml)

装rails时总遇到这个问题,原因不详,可能是公司网络限制吧,折腾死了
stackoverflow上有好多
http://goo.gl/jn1S
http://goo.gl/y1xG
挨着试了遍,都不行。在JE上搜到一篇 相关文章

只能下载rails包,然后手动安装: gem install --local rails-2.3.5.gem
需要以下包(rails2.3.5)
actionmailer-2.3.5.gem
actionpack-2.3.5.gem
activerecord-2.3.5.gem
activeresource-2.3.5.gem
activesupport-2.3.5.gem
rack-1.0.0.gem
rake-0.8.7.gem

果然可以。真折腾人啊。
这些包在附件里。

你可能感兴趣的:(cache,rubygems,Rails,ActiveRecord,rack)