Use rails 3 style runner

This commit is contained in:
Damien 2010-05-28 00:42:52 +08:00 committed by Javan Makhmali
parent 50fc55dbef
commit 8fdd66adc0

View File

@ -4,7 +4,7 @@ module Whenever
def output
path_required
%Q(cd #{File.join(@path)} && script/runner -e #{@environment} #{task.inspect})
%Q(cd #{File.join(@path)} && bundle exec rails runner -e #{@environment} #{task.inspect})
end
end