Commit 6e3050fdbeb59f64d6308ba30b80f4915d647eb2
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'rails3_community_dashboard' into rails3_stable
Showing
3 changed files
with
3 additions
and
4 deletions
Show diff stats
plugins/community_hub/Gemfile
plugins/community_hub/lib/community_hub_plugin/listener.rb
plugins/community_hub/script/hub_updater
@@ -4,9 +4,9 @@ require 'daemons' | @@ -4,9 +4,9 @@ require 'daemons' | ||
4 | require 'optparse' | 4 | require 'optparse' |
5 | 5 | ||
6 | NOOSFERO_ROOT = File.expand_path(File.dirname(__FILE__) + '/../../../') | 6 | NOOSFERO_ROOT = File.expand_path(File.dirname(__FILE__) + '/../../../') |
7 | +require NOOSFERO_ROOT + '/config/environment' | ||
7 | 8 | ||
8 | Daemons.run_proc('hub') do | 9 | Daemons.run_proc('hub') do |
9 | - require NOOSFERO_ROOT + '/config/environment' | ||
10 | unless ENV['PROXY'].blank? | 10 | unless ENV['PROXY'].blank? |
11 | ENV['NO_PROXY'] ||= 'localhost' | 11 | ENV['NO_PROXY'] ||= 'localhost' |
12 | require 'proxifier/env' | 12 | require 'proxifier/env' |