-
-
Save mergulhao/1085766 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
railsapps@webby5973:~$ sudo gem list -r rails | |
*** REMOTE GEMS *** | |
ERROR: http://rubygems.org/ does not appear to be a repository | |
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) | |
too many connection resets (http://rubygems.org/yaml) | |
railsapps@webby5973:~$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):003:0> require 'net/http' | |
=> true | |
irb(main):004:0> Net::HTTP.get_print 'google.com', '/index.html' | |
Timeout::Error: execution expired | |
from /usr/lib/ruby/1.8/timeout.rb:60:in `rbuf_fill' | |
from /usr/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill' | |
from /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil' | |
from /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline' | |
from /usr/lib/ruby/1.8/net/http.rb:2020:in `read_status_line' | |
from /usr/lib/ruby/1.8/net/http.rb:2009:in `read_new' | |
from /usr/lib/ruby/1.8/net/http.rb:1050:in `request' | |
from /usr/lib/ruby/1.8/net/http.rb:948:in `request_get' | |
from /usr/lib/ruby/1.8/net/http.rb:375:in `get_response' | |
from /usr/lib/ruby/1.8/net/http.rb:543:in `start' | |
from /usr/lib/ruby/1.8/net/http.rb:374:in `get_response' | |
from /usr/lib/ruby/1.8/net/http.rb:337:in `get_print' | |
from (irb):4 | |
from /usr/lib/ruby/1.8/net/http.rb:2174 | |
irb(main):005:0> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Atualize a versão do Ruby para resolver esse problema. Se você tiver usando Ubuntu 8.10, atualize ele para versão mais nova!