diff --git a/plugins/community_hub/script/hub_updater b/plugins/community_hub/script/hub_updater index f1e5dc4..b4c0fe3 100755 --- a/plugins/community_hub/script/hub_updater +++ b/plugins/community_hub/script/hub_updater @@ -7,6 +7,9 @@ NOOSFERO_ROOT = File.expand_path(File.dirname(__FILE__) + '/../../../') Daemons.run_proc('hub') do require NOOSFERO_ROOT + '/config/environment' - require 'proxifier/env' unless ENV['PROXY'].blank? + unless ENV['PROXY'].blank? + ENV['NO_PROXY'] ||= 'localhost' + require 'proxifier/env' + end CommunityHubPlugin::Listener.run end -- libgit2 0.21.2