Hey guys. Is it possible to assign a task to specific stages?

I thought the :stages option might work, but it didn't change Capistrano's 
behaviour:

desc "Start Foreman"
task :start, :roles => :app, :stages => %w(production) do
  # ...
end

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to capistrano@googlegroups.com
* To unsubscribe from this group, send email to 
capistrano+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to