Fixed multicoops and resque rake tasks.
This commit is contained in:
parent
0364562273
commit
1fe141175c
2 changed files with 4 additions and 4 deletions
|
|
@ -5,7 +5,7 @@ namespace :multicoops do
|
|||
task_to_run = ARGV[1]
|
||||
FoodsoftConfig.each_coop do |coop|
|
||||
puts "Run '#{task_to_run}' for #{coop}"
|
||||
Rake::Task[task_to_run].invoke
|
||||
Rake::Task[task_to_run].execute
|
||||
end
|
||||
end
|
||||
|
||||
|
|
@ -14,7 +14,7 @@ namespace :multicoops do
|
|||
task_to_run = ARGV[1]
|
||||
FoodsoftConfig.select_foodcoop ENV['FOODCOOP']
|
||||
puts "Run '#{task_to_run}' for #{ENV['FOODCOOP']}"
|
||||
Rake::Task[task_to_run].invoke
|
||||
Rake::Task[task_to_run].execute
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue