捆绑安装Jquery-rails需要太长时间来响应gemcutter

时间:2011-03-10 13:32:46

标签: ruby-on-rails-3 rubygems

大家好,jquery-rails(0.2.7)似乎无法安装在我的机器上,说连接太多而且超时,我知道这不是实际编程,但它是任何ROR程序员的基础esp in rails 3,所以我实际上正在寻找任何可能遇到此错误并解决它的人。错误如下。

  

/usr/local/lib/site_ruby/1.8/rubygems/remote_fetcher.rb:365:in request': too many connection resets (http://production.cf.rubygems.org/gems/libxml-ruby-1.1.4.gem) (Gem::RemoteFetcher::FetchError) from /usr/local/lib/site_ruby/1.8/rubygems/remote_fetcher.rb:289:in open_uri_or_path'           来自/usr/local/lib/site_ruby/1.8/rubygems/remote_fetcher.rb:298:in open_uri_or_path' from /usr/local/lib/site_ruby/1.8/rubygems/remote_fetcher.rb:172:in fetch_path'           来自/usr/local/lib/site_ruby/1.8/rubygems/remote_fetcher.rb:110:in download' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/source.rb:253:in download_gem_from_uri'           来自/usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/source.rb:76:in fetch' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/installer.rb:45:in run'           来自/usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/spec_set.rb:12:in each' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/spec_set.rb:12:in每个'           来自/usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/installer.rb:44:in run' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/installer.rb:8:in install'           来自/usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/cli.rb:217:in install' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/vendor/thor/task.rb:22:in发送'           来自/usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/vendor/thor/task.rb:22:in run' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/vendor/thor/invocation.rb:118:in invoke_task'           来自/usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/vendor/thor.rb:246:in dispatch' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/vendor/thor/base.rb:389:in start'           来自/usr/lib/ruby/gems/1.8/gems/bundler-1.0.0/bin/bundle:13           来自/ usr / bin / bundle:19:在'load'中           来自/ usr / bin / bundle:19

提前致谢 〜d

1 个答案:

答案 0 :(得分:0)

这是一个连接问题。尝试再次运行该命令将安装gem。