title: How to run "rake resque:work QUEUE=*" when Rails server boots?
body: <p>I have installed resque correctly, but to process all queues I need to run</p>
  
  <pre><code>rake resque:work QUEUE='*'
  </code></pre>
  
  <p>The problem is that I need to keep the terminal window opened, otherwise resque:work won't works.</p>
  
  <p>Do you know a way to auto-run that rake command every time I run "rails server" ?</p>
  
  <p>I'm on <strong>Localhost</strong></p>
  
  <p><strong>lib/tasks/resque.rake</strong></p>
  
  <pre><code>require 'resque/tasks'
  
  task "resque:setup" =&gt; :environment do
      ENV['QUEUE'] = "*"
  end
  </code></pre>