Search code examples
ruby-on-railsherokusidekiq

Rails: How to setup Heroku with Redis and Sidekiq


I'm trying to get Sidekiq to work with the Heroku Redis.

I have Heroku Redis as an addon on my app and and have added

worker: bundle exec sidekiq -C ./config/sidekiq.yml

to my procfile but when I start the worker I see this error in my logs:

No such file or directory - /app/tmp/pids/sidekiq.pid 

How can I go about getting Sidekiq to run with Heroku Redis?


Solution

  • Remove the pidfile line in your sidekiq.yml.