Capistrano and "the task `cleanup' does not exist"

I use Capistrano for deploying my apps, and have been doing so for a
while. I
keep seeing references to the ‘cleanup’ task, as in:

desc “Cleanup after every deployment”
task :after_deploy do
cleanup
end

But I don’t seem to have this task available. It doesn’t show up when
I run
cap -T. Anyone know how I get hold of this task and others.

I am using Rails 2.3.2 and Capistrano 2.5.5

Thanks for your help,

Nick

Thanks. That’s worked a treat.

Nick

On Jun 21, 3:58 pm, Marnen Laibow-Koser <rails-mailing-l…@andreas-

nickflux wrote:

I use Capistrano for deploying my apps, and have been doing so for a
while. I
keep seeing references to the ‘cleanup’ task, as in:

desc “Cleanup after every deployment”
task :after_deploy do
cleanup
end

But I don’t seem to have this task available.
[…]

Assumning a standard Capistrano setup, that task is in the deploy
namespace, so try cap deploy:cleanup.

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]