Skip to content

Commit

Permalink
Add daemons gem to Gemfile
Browse files Browse the repository at this point in the history
 - Delayed job requires daemon gem if we want to run it as background
   process.
 - Thin gem also depends on daemons gem so it was working for a long
   time without explicitly requiring it.
 - But we moved thin in development and now it doesn't work in
   non-development environemnts.
 - Reference: https://github.com/collectiveidea/delayed_job#running-jobs.
  • Loading branch information
prathamesh-sonpatki committed May 15, 2015
1 parent 9598a5d commit 25abea3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ gem 'mail_interceptor'
# not used in development.
gem 'unicorn', group: [:staging, :production]

# For starting Delayed job background process
gem 'daemons'

group :development do

# application server for development
Expand Down
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ DEPENDENCIES
bootstrap-sass (~> 3.3.3)
browser
carrierwave
daemons
delayed_job_active_record
delayed_job_web (>= 1.2.0)
devise (= 3.4.1)
Expand Down

0 comments on commit 25abea3

Please sign in to comment.