简体   繁体   中英

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?

删除sidekiq.yml中的pidfile行。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM