I'm running Capistrano 2.1.0 with capistrano-ext 1.2.0 with staging
and production environments.
I tried to redefine task :restart in my config/deploy/staging.rb, both
as:
namespace :deploy do
task :restart, :roles => :app do
# yada yada
end
end
and
deploy.task :restart, :roles => :app do
# yada yada
end
but neither worked. I moved the restart override to config/deploy.rb
and it works fine in staging, but I don't want to use that task for
production! Any ideas why I can't override a task in the stage-
specific file? Thanks.
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---