capistrano-sidekiq
capistrano-sidekiq copied to clipboard
Why not use `bundle exec sidekiq` ?
In my environment, cap production sidekiq:start
dies immediately.
The capistrano's boot up sidekiq via below command.
$ sidekiq --index 0 --pidfile /opt/my_application/shared/tmp/pids/sidekiq-0.pid --environment production --logfile /opt/my_application/shared/log/sidekiq.log --config /opt/my_application/current/config/sidekiq.yml -r /opt/my_application/current --daemon
It uses system installed sidekiq
.
And it bytes me environment related bug.
How about boot up sidekiq via
/opt/my_application/current/bin/bundle exec sidekiq
command? It worked me in CLI test.