Add after and before hooks to rake tasks. You can use "after :task do ... end" and "before :task do ... end".
Guillermo Álvarez, Joel Moss
September 9, 2011 8:51pm
k.A.