From 0ce411c11c9f4eaebecbee7bc786f99e06b5b7e5 Mon Sep 17 00:00:00 2001 From: Florian Staudacher Date: Fri, 15 Jun 2012 01:15:45 +0200 Subject: [PATCH] fix startup error for integration envs --- config/environments/integration1.rb | 2 +- config/environments/integration2.rb | 2 +- 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