Commit bf8f547734b5f01d5899a6fdcbcd6ba822f0c22b
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'AI3074-community_dashboard' of gitlab.com:participa/noosfero into …
…AI3074-community_dashboard
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
plugins/community_hub/script/hub_updater
@@ -7,6 +7,9 @@ NOOSFERO_ROOT = File.expand_path(File.dirname(__FILE__) + '/../../../') | @@ -7,6 +7,9 @@ NOOSFERO_ROOT = File.expand_path(File.dirname(__FILE__) + '/../../../') | ||
7 | 7 | ||
8 | Daemons.run_proc('hub') do | 8 | Daemons.run_proc('hub') do |
9 | require NOOSFERO_ROOT + '/config/environment' | 9 | require NOOSFERO_ROOT + '/config/environment' |
10 | - require 'proxifier/env' unless ENV['PROXY'].blank? | 10 | + unless ENV['PROXY'].blank? |
11 | + ENV['NO_PROXY'] ||= 'localhost' | ||
12 | + require 'proxifier/env' | ||
13 | + end | ||
11 | CommunityHubPlugin::Listener.run | 14 | CommunityHubPlugin::Listener.run |
12 | end | 15 | end |