Skip to content

Instantly share code, notes, and snippets.

@MatthieuSegret
Created May 24, 2012 12:45
Show Gist options
  • Save MatthieuSegret/2781371 to your computer and use it in GitHub Desktop.
Save MatthieuSegret/2781371 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