lib/kapify/resque/configuration.rb in kapify-0.0.9 vs lib/kapify/resque/configuration.rb in kapify-0.0.10
- old
+ new
@@ -1,13 +1,13 @@
require 'capistrano'
require 'kapify/base'
Capistrano::Configuration.instance.load do
- set_default(:resque_user, user)
- set_default(:resque_workers, 2)
- set_default(:resque_queue, "*")
- set_default(:resque_task, "environment resque:work")
- set_default(:rbenv_install_path, "/usr/local/rbenv")
+ set_default(:resque_user) { user }
+ set_default(:resque_workers) { 2 }
+ set_default(:resque_queue) { "*" }
+ set_default(:resque_task) { "environment resque:work" }
+ set_default(:rbenv_install_path) { "/usr/local/rbenv" }
namespace :kapify do
namespace :resque do
desc "Setup Resque initializer and app configuration"
task :setup, roles: :resque_worker do