title: Running delayed_jobs with daemon
body: <p>I have paperclip setup with the delayed_jobs and daemon gem to process my images in the background. The issue I'm having is that I keep having to call <code>worker: rake jobs:work</code> manually in it's own terminal instance to process the queue. I can't seem to get daemon working. </p>
  
  <p>procfile: </p>
  
  <pre><code>web: bundle exec puma -C config/puma.rb
  worker: rake jobs:work
  </code></pre>
  
  <p>bin/delayed_job:</p>
  
  <pre><code>#!/usr/bin/env ruby
  
  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'config', 'environment'))
  require 'delayed/command'
  Delayed::Command.new(ARGV).daemonize
  </code></pre>
  
  <p>The <a href="https://github.com/collectiveidea/delayed_job#running-jobs" rel="nofollow">instructions</a> say I can do the following: <code>RAILS_ENV=production script/delayed_job start</code></p>
  
  <p>but I'm not sure if that's telling me to add this line to the delayed_job.rb file or to run that command manually. Right now, jobs are just accumulating in heroku. </p>