Hello All,

I have a little problem with my capistrano multistage setup.

My config/deploy.rb looks simple like that:

set :stages, %w(staging production)
set :default_stage, "staging"
require 'capistrano/ext/multistage'

in config/deploy/staging.rb I want to define a task (beside of all
other settings):

namespace :deploy do
  task :restart, :roles => :app do
    sudo "mongrel_rails cluster::restart -C #{mongrel_conf}"
  end
end

mongrel_conf is set. However a cap deploy:restart executes script/
reaper instead of my task.
I also tried to define an empty restart task in config/deploy:rb in
the hope this would force to use the staging taks. But no luck (reaper
was not executed anymore). I am using capistrano (2.5.2) and
capistrano-ext (1.2.1).

Any help very appriciated.
Jens

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to