From 7c8465943e78cf723295bdef0ec7e397581ffabd Mon Sep 17 00:00:00 2001 From: Seb Bacon Date: Thu, 14 Jun 2012 09:58:06 +0100 Subject: Fix test failure introduced in 775e122cb4824c9734f50db0dd2967779636080e --- script/handle-mail-replies | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script') diff --git a/script/handle-mail-replies b/script/handle-mail-replies index ad4b3719e..7006b83dd 100755 --- a/script/handle-mail-replies +++ b/script/handle-mail-replies @@ -1,4 +1,4 @@ #!/bin/bash cd "`dirname "$0"`" -exec bundle exec ./handle-mail-replies.rb +exec bundle exec ./handle-mail-replies.rb $@ -- cgit v1.2.3 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') 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