Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError (uninitialized constant Delayed::Job): #53

Open
vanboom opened this issue Jan 7, 2012 · 13 comments
Open

NameError (uninitialized constant Delayed::Job): #53

vanboom opened this issue Jan 7, 2012 · 13 comments

Comments

@vanboom
Copy link

vanboom commented Jan 7, 2012

I'm getting this error when using the delayed_job 3.0.0 gem...

NameError (uninitialized constant Delayed::Job):

Everything works great when I force delayed_job, 2.1.4 in my Gemfile.

I'm using rails 3.1.1.

Thanks for a great gem!

@justinwiley
Copy link

+1, I'm seeing this as well after moving from 2.1.4 to 3.0.0. The exception is triggered when using the "delay" proxy, as in: article.delay.update_comments. I tried using the "send_later" form as per the documentation, but that triggers deprecation warnings.

@chagel
Copy link

chagel commented Jan 19, 2012

+1 when gem update
delayed_job 2.1.4 to 3.0.0

NameError (uninitialized constant Delayed::DelayProxy::Job):

@charles-luv
Copy link

+1 when gem update

@betamatt
Copy link

2.0 and higher versions of DelayedJob don't come from this repository. Try here: https://github.com/collectiveidea/delayed_job

@joemsak
Copy link

joemsak commented Feb 3, 2012

Request to have this source's description and/or readme to link to the new official source

@maedi
Copy link

maedi commented Mar 16, 2012

+1 for linking to the new source

@jjb
Copy link

jjb commented Mar 27, 2012

I submitted a patch to the readme for this: #50

@jpatokal
Copy link

jpatokal commented Apr 3, 2012

So for others who just want to fix this issue, the key is to simply replace gem 'delayed_job' in your Gemfile with this:

gem 'delayed_job_active_record'

Or if you happen to be using Mongoid:

gem 'delayed_job_mongoid'

These will pull in the latest delayed_job with its dependencies, and everything should Just Work(tm).

@fholgado
Copy link

fholgado commented Apr 4, 2012

@jpatokal thanks for the fix, worked like a charm :)

@damien
Copy link

damien commented May 15, 2012

@jpatokal Worked for me, thanks!

@lesonapt
Copy link

Thanks @jpatokal . it worked

@eddiefisher
Copy link

+1

@gabrieltong
Copy link

Thanks @jpatokal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests