Browse files

Updated requirements and installation instructions. [ci skip]

  • Loading branch information...
dblock committed Feb 13, 2017
1 parent 1788c88 commit 4e14b4065a8b094b3e7efbc05c9aa835f0138f7c
Showing with 3 additions and 5 deletions.
  1. +3 −5
@@ -14,21 +14,19 @@
## Requirements
-Make sure you are using MongoDB version 1.3 or newer. `delayed_job_mongoid`
-uses the `findandmodify` command which is only available in recent versions.
+Mongoid 3, 4, 5 or 6.
## Installation
Add the gem to your Gemfile:
gem 'delayed_job_mongoid'
-After running `bundle install`, create the indexes (and don't forget to do this
-on your production database):
+Create the indexes (and don't forget to do this on your production database):
script/rails runner 'Delayed::Backend::Mongoid::Job.create_indexes'
-To generate script/delayed_job:
+To generate `script/delayed_job`:
rails generate delayed_job

0 comments on commit 4e14b40

Please sign in to comment.