大家好,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:inopen_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:indownload' 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:infetch' 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:ineach' 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:inrun' 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:ininstall' 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:inrun' 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:indispatch' 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
答案 0 :(得分:0)
这是一个连接问题。尝试再次运行该命令将安装gem。