Skip to content

Commit a2dbc62

Browse files
committed
Merge branch 'master' of github.com:defunkt/resque
2 parents 9b855ba + 08ad81f commit a2dbc62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/resque/tasks.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
# will give you the resque tasks
55

66
namespace :resque do
7-
desc "Start a Resque Ranger"
8-
task :work do
9-
Rake::Task['resque:setup'].invoke rescue nil
7+
task :setup
108

9+
desc "Start a Resque Ranger"
10+
task :work => :setup do
1111
worker = nil
1212
queues = (ENV['QUEUES'] || ENV['QUEUE']).to_s.split(',')
1313

0 commit comments

Comments
 (0)