I am working on a new Rails 4.2 app. I have added Sidekiq as the ActiveJob backend and added the Sidekiq web UI. I have a mailer that is supposed to be sending emails. I can see the email ending up in the mailers queue. However the job is not being run. I am running this app on Ninefold and converted to using a Procfile (like Heroku). I specified worker: bundle exec sidekiq. I followed all of the documentation that I could find, but I feel like I'm missing a step. What am I doing wrong?
-q mailers -q default
Need to tell Sidekiq to process that queue.
On Apr 21, 2015, at 00:01, Andrew Havens [email protected] wrote:
I am working on a new Rails 4.2 app. I have added Sidekiq as the ActiveJob backend and added the Sidekiq web UI. I have a mailer that is supposed to be sending emails. I can see the email ending up in the mailers queue. However the job is not being run. I am running this app on Ninefold and converted to using a Procfile (like Heroku). I specified worker: bundle exec sidekiq. I followed all of the documentation that I could find, but I feel like I'm missing a step. What am I doing wrong?
—
Reply to this email directly or view it on GitHub.
I'm having the same problem even though I specify the queues when running the workers.
It worked for me when I specified the queues as Mike mentioned:
bundle exec sidekiq -q mailers -q default
So @dftaher you must be having a different issue than I was.
Active Job integration documentation is in the wiki:
https://github.com/mperham/sidekiq/wiki/Active-Job
There's no known bugs right now; any issues you are seeing are almost certainly due to application issues.
Most helpful comment
It worked for me when I specified the queues as Mike mentioned:
So @dftaher you must be having a different issue than I was.