lib/generators/kapify/resque/templates/resque_init.erb in kapify-0.0.10 vs lib/generators/kapify/resque/templates/resque_init.erb in kapify-0.0.11
- old
+ new
@@ -18,10 +18,10 @@
NAME="<%= application %>"
ROOT=<%= current_path %>
USER="<%= resque_user %>"
GROUP="<%= resque_user %>"
-ENVIRONMENT="production"
+ENVIRONMENT="<%= rails_env %>"
QUEUES="<%= resque_queue %>"
COUNT=<%= resque_workers %>
TASK="<%= resque_task %>"
PIDFILE="$ROOT/tmp/pids/resque_worker.%d.pid"
RBENV="<%= rbenv_install_path %>"