Skip to content

Instantly share code, notes, and snippets.

@malomalo
Created June 13, 2011 14:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save malomalo/1022915 to your computer and use it in GitHub Desktop.
Save malomalo/1022915 to your computer and use it in GitHub Desktop.
require 'resque/tasks'
task "resque:setup" => :environment do
ENV['QUEUE'] = '*'
end
desc "Alias for resque:work (To run workers on Heroku)"
task "jobs:work" => "resque:work"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment