I was trying to install the blogger plugin for vim .
According to the instructions , after installation and configuration, I should be able to write something like this :
e blogger:list
and I will see the list of the blog posts I have published. However I get the following error :
/usr/lib/ruby/1.8/net/http.rb:560:ininitialize': Connection refused - connect(2) (Errno::ECONNREFUSED) from /usr/lib/ruby/1.8/net/http.rb:560:inopen' from /usr/lib/ruby/1.8/net/http.rb:560:inconnect' from /usr/lib/ruby/1.8/timeout.rb:53:intimeout' from /usr/lib/ruby/1.8/timeout.rb:101:intimeout' from /usr/lib/ruby/1.8/net/http.rb:560:inconnect' from /usr/lib/ruby/1.8/net/http.rb:553:indo_start' from /usr/lib/ruby/1.8/net/http.rb:542:instart' from /usr/lib/ruby/1.8/net/http.rb:379:inget_response' from /usr/lib/ruby/1.8/net/http.rb:356:inget' from /home/messi/.vim/autoload/metarw/blogger.rb:217:in__pagen from /home/messi/.vim/autoload/metarw/blogger.rb:130:inlist' from /home/messi/.vim/autoload/metarw/blogger.rb:329
I am behind an HTTP proxy. So I am guessing that is why I am getting these errors. I don't want to have to change the ruby scripts to make them work with the proxy settings. I tried setting environment variable HTTP_PROXY to the correct value to get it to work, but to no avail.
That SW does not seem to contain code for dealing with proxies. I fear you have to change
blogger.rb.See ruby-doc.org, you have to replace
Net::HTTP.getbyNet::HTTP::Proxy(proxy_addr, proxy_port).getand so on. Maybe it is possible to achieve this centrally by some monkey-patching.