deploy.rb

Path: lib/capistrano/recipes/deploy.rb
Last Update: Thu Aug 14 00:06:41 -0600 2008

Required files

yaml   capistrano/recipes/deploy/scm   capistrano/recipes/deploy/strategy   erb  

Methods

_cset   depend   try_sudo   with_env  

Public Instance methods

Auxiliary helper method for the `deploy:check’ task. Lets you set up your own dependencies.

If :run_method is :sudo (or :use_sudo is true), this executes the given command via sudo. Otherwise is uses run. Further, if sudo is being used and :runner is set, the command will be executed as the user given by :runner.

Temporarily sets an environment variable, yields to a block, and restores the value when it is done.

[Validate]