collectiveidea / delayed_job

Database based asynchronous priority queue system -- Extracted from Shopify
http://groups.google.com/group/delayed_job
MIT License
4.81k stars 955 forks source link

Updating from 4.1.4 to 4.1.5 might break rails initializers #1131

Closed jlahtinen closed 3 years ago

jlahtinen commented 3 years ago

Updating delayed_job_active_record from 4.1.4 to 4.1.5 breaks rails initializers with code Delayed::Jobs with NameError: uninitialized constant Delayed::Job

jlahtinen commented 3 years ago

Adding Delayed::Worker.backend = :active_record before Delayed::Jobs "fixes" NameError.

jlahtinen commented 3 years ago

This issue maybe should be reported in delayed_job_active_record repo?

albus522 commented 3 years ago

https://github.com/collectiveidea/delayed_job_active_record/issues/185

jlahtinen commented 3 years ago

following collectiveidea/delayed_job_active_record#185