DataMapper backend for delayed_job
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
Gemfile
LICENSE.md
README.md
Rakefile
VERSION
delayed_job_data_mapper.gemspec

README.md

delayed_job DataMapper backend

Installation

Add the gems to your Gemfile:

gem 'delayed_job', '2.1.0.pre2'
gem 'delayed_job_data_mapper', '1.0.0.rc'

If you're using dm-rails gem, add this to your environment.rb:

XXX::Application::configure do
 config.after_initialize do
   Delayed::Worker.backend.auto_upgrade!
 end
end

Otherwise, add an initializer:

Delayed::Worker.backend.auto_upgrade!

That's it. Use delayed_job as normal.