diff --git a/plugins/community_hub/twitter/stream.rb b/plugins/community_hub/twitter/stream.rb index 87e8aa5..3f8e294 100644 --- a/plugins/community_hub/twitter/stream.rb +++ b/plugins/community_hub/twitter/stream.rb @@ -2,6 +2,13 @@ require 'rubygems' require 'twitter' require 'iconv' +#disable address resolv to avoid problems with proxy +class Resolv + def self.getaddress(host) + host + end +end + #Filters non-UTF8 octets def UTF8Filter(string) ic = Iconv.new('UTF-8//IGNORE', 'UTF-8') -- libgit2 0.21.2