We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9b855ba + 08ad81f commit a2dbc62Copy full SHA for a2dbc62
lib/resque/tasks.rb
@@ -4,10 +4,10 @@
4
# will give you the resque tasks
5
6
namespace :resque do
7
- desc "Start a Resque Ranger"
8
- task :work do
9
- Rake::Task['resque:setup'].invoke rescue nil
+ task :setup
10
+ desc "Start a Resque Ranger"
+ task :work => :setup do
11
worker = nil
12
queues = (ENV['QUEUES'] || ENV['QUEUE']).to_s.split(',')
13
0 commit comments