From b94bfb8540e56ae490ca3177688c63c3fad48696 Mon Sep 17 00:00:00 2001 From: Seb Bacon Date: Thu, 14 Jun 2012 10:05:06 +0100 Subject: Fix bug that was preventing Rails from loading when *not* in test mode (exposed by the bug fixed in 7c846594 that was introduced in 775e122c) --- script/handle-mail-replies.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/handle-mail-replies.rb') diff --git a/script/handle-mail-replies.rb b/script/handle-mail-replies.rb index cc15fe35a..eba6f44cf 100755 --- a/script/handle-mail-replies.rb +++ b/script/handle-mail-replies.rb @@ -167,7 +167,7 @@ end def load_rails require File.join('config', 'boot') - require Rails.root + '/config/environment' + require File.join('config', 'environment') end def record_bounce(email_address, bounce_message) -- cgit v1.2.3