From 55c936a81ff2f5aa42ef1a50f86e12d2af3210cf Mon Sep 17 00:00:00 2001 From: Joenio Costa Date: Wed, 3 Dec 2008 12:54:29 -0300 Subject: [PATCH] ActionItem791: dont forget to set RAILS_ENV to production --- script/task-notifier | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/script/task-notifier b/script/task-notifier index cf5833d..2009c1f 100755 --- a/script/task-notifier +++ b/script/task-notifier @@ -1,6 +1,8 @@ #!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/environment' +# when in production set RAILS_ENV to 'production' + Person.with_pending_tasks.each do |p| PendingTaskNotifier.deliver_notification(p) RAILS_DEFAULT_LOGGER.info('deliver notification for ' + p.identifier) -- libgit2 0.21.2