Add after and before hooks to rake tasks. You can use "after :task do ... end" and "before :task do ... end".
Guillermo Álvarez
June 22, 2010 1:15am
k.A.