views:

84

answers:

2

Hi all: I'm on Heroku, installed delayed_job and am getting the above error when I attempt to run a background job. I've tried filing a ticket and scouring the net to no avail.

Thanks...Chris

A: 

Have you installed the delayed_job plugin?

http://docs.heroku.com/delayed-job

mark
He said right in the OP that he installed delayed_job.
tfe
Go ahead and enjoy bandying about down votes but he didn't say how he installed dj, whether by gem or plugin.
mark
+1 to counter -1 by another answer provider. It is a good point that you need to be somewhat careful about how/which delayed_job version you use. Technically you can use whatever you version you want (whether by gem or plugin), but they might not all work quite right.
wuputah
+1  A: 

You only use rake jobs:work to start a DJ worker locally. When on Heroku, you have to add workers: heroku workers +1 --app myapp. Those cost money though, so you might want to set workers back to 0 when you're done with it.

Edit:

Looks like this is clearly explained in the docs: http://docs.heroku.com/delayed-job#running-dj-workers-on-heroku.

tfe