1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Add missing "bundle exec" prefixes

This commit is contained in:
Hinrik Örn Sigurðsson 2012-03-29 06:25:45 +00:00
parent ee42be39e0
commit fae3f120b9

View file

@ -8,12 +8,12 @@ Capistrano::Configuration.instance.load do
desc "Quiet sidekiq (stop accepting new work)"
task :quiet do
run "cd #{current_path} && sidekiqctl quiet #{current_path}/tmp/pids/sidekiq.pid"
run "cd #{current_path} && bundle exec sidekiqctl quiet #{current_path}/tmp/pids/sidekiq.pid"
end
desc "Stop sidekiq"
task :stop do
run "cd #{current_path} && sidekiqctl stop #{current_path}/tmp/pids/sidekiq.pid #{fetch :sidekiq_timeout}"
run "cd #{current_path} && bundle exec sidekiqctl stop #{current_path}/tmp/pids/sidekiq.pid #{fetch :sidekiq_timeout}"
end
desc "Start sidekiq"