Mic92/mina-sidekiq

invoke :'sidekiq:restart' doesn't work in on :launch do block

Closed this issue · 1 comments

As the subject says if I put invoke :'sidekiq:restart' in the on :launch do block of the config/deploy.rb file it gives me the infamous bash: line 171: bundle: command not found error. After a lot of trial and error I found that if I move it up in the deploy do block, it works. It also works from the command line: mina sidekiq:restart. What could be the problem?

Actually it seems to be a mina issue. And it looks like mina is not maintained very well lately, I'm switching to my old "friend" capistrano.