views:

37

answers:

1

when i run rails g delayed_job,i always get the "Couldn't find generator delayed_job",i already add the "get "delayed_job"" to my gemfile...

is there someone tell me why? how can i resolve this problem,thanks...

A: 

Yes it's works on 2.1.0.pre2 version

In your gemfile you can put

gem 'delayed_job', '2.1.0.pre2'
shingara
great thanks,you save me a lot of time!!!!
29decibel
well the delayed_job is working,but i always get this error:Job failed to load: uninitialized constant MailingJob!! should i require this file in the lib??
29decibel
it's another problem. Can you launch another question with more information.
shingara
here is my another thread:http://stackoverflow.com/questions/3929232/rake-jobswork-error-uninitialized-constant ,thanks!
29decibel