Description
Capistrano::Sidekiq is a Capistrano plugin for deploying and managing Sidekiq background workers in Ruby and Rails apps. It provides systemd service management for Sidekiq 7 and later, and it coordinates the workers with the rest of a deployment. Setup takes two lines in your Capfile, a require and an install_plugin call, and both are needed, because install_plugin registers the Capistrano tasks such as cap sidekiq:start. The gem shares settings with sibling service gems such as capistrano-puma, including the service unit user, the systemctl binary path, the lingering user, environment files and environment variables. Each gem can override these with its own prefixed settings. Configuration can also differ per server, so different Sidekiq processes can run with different settings on different machines. The README links a migration guide for users upgrading from version 2.x and an example application that shows Rails 8, Sidekiq 7, Redis 7, systemd and rbenv working together.…
Highlights
- Systemd service management for Sidekiq 7 and later
- Capistrano tasks such as cap sidekiq:start
- Settings shared with capistrano-puma and similar gems
- Per-server Sidekiq configuration
Ratings & Reviews
No ratings yet
Be the first to rate Capistrano Sidekiq.
People also visit
Sidekick
Bare metal to production ready in mins; your own fly server on your VPS
Capistrano Sidekiq FAQ
What does it do?
It manages Sidekiq workers during Capistrano deployments, including their systemd services.
How do I install it?
Add the gem to your Gemfile and run the install command shown in the README, then add a require and an install_plugin line to your Capfile.
Why are both Capfile lines needed?
The require loads the gem code, while install_plugin registers the Capistrano tasks. Without install_plugin, commands like cap sidekiq:start are not available.
Can I run different settings on different servers?
Yes. The README describes per-server configuration, so different Sidekiq processes can run with different settings on different machines.
Is there an example?
Yes. The README links to a capistrano-example-app that uses Rails 8, Sidekiq 7, Redis 7, systemd and rbenv.
What are the best Capistrano Sidekiq alternatives?
Popular alternatives to Capistrano Sidekiq include Capistrano Puma, gocron and Taskiq. See all Capistrano Sidekiq alternatives











