Fixed multicoops and resque rake tasks.
This commit is contained in:
parent
0364562273
commit
1fe141175c
2 changed files with 4 additions and 4 deletions
|
|
@ -8,7 +8,7 @@ def run_worker(queue, count = 1)
|
|||
count.times {
|
||||
## Using Kernel.spawn and Process.detach because regular system() call would
|
||||
## cause the processes to quit when capistrano finishes
|
||||
pid = spawn(env_vars, "rake resque:work", ops)
|
||||
pid = spawn(env_vars, "bundle exec rake resque:work", ops)
|
||||
Process.detach(pid)
|
||||
}
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue