aboutsummaryrefslogtreecommitdiffstats
path: root/script/handle-mail-replies.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-06-14 10:05:06 +0100
committerSeb Bacon <seb.bacon@gmail.com>2012-06-14 10:05:06 +0100
commitb94bfb8540e56ae490ca3177688c63c3fad48696 (patch)
tree121726cd47e49732770eb6c6c0fe6c8097ed90fb /script/handle-mail-replies.rb
parent7c8465943e78cf723295bdef0ec7e397581ffabd (diff)
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)
Diffstat (limited to 'script/handle-mail-replies.rb')
-rwxr-xr-xscript/handle-mail-replies.rb2
1 files changed, 1 insertions, 1 deletions
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)