capistrano-sidekiq icon indicating copy to clipboard operation
capistrano-sidekiq copied to clipboard

Why not use `bundle exec sidekiq` ?

Open kumagi opened this issue 7 years ago • 6 comments

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.

kumagi avatar Jun 22 '17 03:06 kumagi