danseaver/rubyoverflow — comment on commit 4719c8b473b1e3a8264b3703572864b855ce8730
File:  line 0
By demas:

I have error message when I was trying connect to ServerFault:

irb(main):002:0> require 'rubyoverflow'
=> true
irb(main):003:0> c = Rubyoverflow::Client.new :host => "api.serverfault.com"
=> #
irb(main):004:0> c.users.fetch(:id => 53587)
Faraday::Error::ConnectionFailed: Connection refused - connect(2)
from /usr/lib/ruby/1.9.1/net/http.rb:644:in `initialize'
from /usr/lib/ruby/1.9.1/net/http.rb:644:in `open'
from /usr/lib/ruby/1.9.1/net/http.rb:644:in `block in connect'
from /usr/lib/ruby/1.9.1/timeout.rb:44:in `timeout'
from /usr/lib/ruby/1.9.1/timeout.rb:89:in `timeout'
from /usr/lib/ruby/1.9.1/net/http.rb:644:in `connect'
from /usr/lib/ruby/1.9.1/net/http.rb:637:in `do_start'
from /usr/lib/ruby/1.9.1/net/http.rb:626:in `start'
from /usr/lib/ruby/1.9.1/net/http.rb:1168:in `request'
from /usr/lib/ruby/1.9.1/net/http.rb:888:in `get'
from /usr/lib/ruby/gems/1.9.1/gems/faraday-0.7.5/lib/faraday/adapter/net_http.rb:60:in `call'
from /usr/lib/ruby/gems/1.9.1/gems/faraday-0.7.5/lib/faraday/request/json.rb:32:in `call'
from /usr/lib/ruby/gems/1.9.1/gems/faraday-0.7.5/lib/faraday/request/url_encoded.rb:14:in `call'
from /usr/lib/ruby/gems/1.9.1/gems/faraday-0.7.5/lib/faraday/connection.rb:207:in `run_request'
from /usr/lib/ruby/gems/1.9.1/gems/faraday-0.7.5/lib/faraday/connection.rb:89:in `get'
from /usr/lib/ruby/gems/1.9.1/gems/rubyoverflow-0.5.1/lib/rubyoverflow.rb:48:in `request'
from /usr/lib/ruby/gems/1.9.1/gems/rubyoverflow-0.5.1/lib/rubyoverflow/base.rb:10:in `fetch'