Don't know how to build task 'sidekiq:quiet'
Closed this issue · 2 comments
mangege commented
reference
require 'mina-sidekiq'
...
task :deploy => :enviroment do
deploy do
# stop accepting new workers
invoke :'sidekiq:quiet'
invoke :'git:clone'
...
to :launch do
...
invoke :'sidekiq:restart'
end
end
end
errors:
mina aborted!
Don't know how to build task 'sidekiq:quiet'
/home/outman/.rvm/gems/ruby-1.9.3-p392@inav/gems/mina-0.3.0/lib/mina/helpers.rb:19:in `invoke'
/home/outman/workspace/inav/config/deploy.rb:62:in `block (2 levels) in <top (required)>'
/home/outman/.rvm/gems/ruby-1.9.3-p392@inav/gems/mina-0.3.0/lib/mina/deploy_helpers.rb:29:in `block in deploy_script'
/home/outman/.rvm/gems/ruby-1.9.3-p392@inav/gems/mina-0.3.0/lib/mina/helpers.rb:210:in `isolate'
/home/outman/.rvm/gems/ruby-1.9.3-p392@inav/gems/mina-0.3.0/lib/mina/deploy_helpers.rb:28:in `deploy_script'
/home/outman/.rvm/gems/ruby-1.9.3-p392@inav/gems/mina-0.3.0/lib/mina/deploy_helpers.rb:12:in `deploy'
/home/outman/workspace/inav/config/deploy.rb:59:in `block in <top (required)>'
/home/outman/.rvm/gems/ruby-1.9.3-p392@inav/gems/mina-0.3.0/bin/mina:53:in `block (2 levels) in <top (required)>'
/home/outman/.rvm/gems/ruby-1.9.3-p392@inav/gems/mina-0.3.0/bin/mina:26:in `block in <top (required)>'
/home/outman/.rvm/gems/ruby-1.9.3-p392@inav/gems/mina-0.3.0/bin/mina:25:in `instance_eval'
/home/outman/.rvm/gems/ruby-1.9.3-p392@inav/gems/mina-0.3.0/bin/mina:25:in `<top (required)>'
/home/outman/.rvm/gems/ruby-1.9.3-p392@inav/bin/mina:19:in `load'
/home/outman/.rvm/gems/ruby-1.9.3-p392@inav/bin/mina:19:in `<main>'
/home/outman/.rvm/gems/ruby-1.9.3-p392@inav/bin/ruby_noexec_wrapper:14:in `eval'
/home/outman/.rvm/gems/ruby-1.9.3-p392@inav/bin/ruby_noexec_wrapper:14:in `<main>'
Tasks: TOP => deploy
(See full trace by running task with --trace)
Mic92 commented
merged
Mic92 commented
Fixed in latest version (0.2.0).