Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Staudacher <florian_staudacher@yahoo.de>2012-06-15 03:15:45 +0400
committerFlorian Staudacher <florian_staudacher@yahoo.de>2012-06-15 17:30:49 +0400
commit0ce411c11c9f4eaebecbee7bc786f99e06b5b7e5 (patch)
treec75527f51396f792d3a16f913c13bb65bab94462 /config/environments
parent6546f6320846fed3379f7d39a211429d5f3659c0 (diff)
fix startup error for integration envs
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/integration1.rb2
-rw-r--r--config/environments/integration2.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/environments/integration1.rb b/config/environments/integration1.rb
index a3a5ee606..974d6b472 100644
--- a/config/environments/integration1.rb
+++ b/config/environments/integration1.rb
@@ -32,7 +32,7 @@ Diaspora::Application.configure do
"<#{self.class.name} - tooooo long>"
end
end
- [ActionController::Base, ActionDispatch::RemoteIp::RemoteIpGetter, OmniAuth::Strategy, Warden::Proxy].each do |klazz|
+ [ActionController::Base, OmniAuth::Strategy, Warden::Proxy].each do |klazz|
klazz.send(:include, SmallInspect)
end
end
diff --git a/config/environments/integration2.rb b/config/environments/integration2.rb
index 8b4b88521..184a05302 100644
--- a/config/environments/integration2.rb
+++ b/config/environments/integration2.rb
@@ -32,7 +32,7 @@ Diaspora::Application.configure do
"<#{self.class.name} - tooooo long>"
end
end
- [ActionController::Base, ActionDispatch::RemoteIp::RemoteIpGetter, OmniAuth::Strategy, Warden::Proxy].each do |klazz|
+ [ActionController::Base, OmniAuth::Strategy, Warden::Proxy].each do |klazz|
klazz.send(:include, SmallInspect)
end
end