I am developing an app with rails 3 using delayed_jobs. I’m using Hirefire to scale up and down workers as and when needed. How can I get hirefire working in my development environment, to test it is working as it is intended to.
Then how should I also configure it so it also works in my production environment in Heroku Cedar stack.
What you need to do is to set the
environmentto:local. By default it is set to:noopwhich does nothing. To do this, create a initializer for hirefire atRails.root/config/initializers/hirefire.rb. In the initializer, add the following