Running Commands on Local Machine In Capistrano Script

The ‘run’ method runs commands on the different servers you deploy to.
Is their a command that runs commands on your personal box? I want
to run ‘curl’ after I deploy the website. Any suggestions?

Thanks :slight_smile:


John K.
[email protected]

http://www.kopanas.com

http://www.soen.info

You can use simple ruby inside your cap recipe. system, IO.popen, etc
come
to mind. Even backticks work.

Vish

Used system()… worked perfectly. Thanks :slight_smile:

On 10/3/06, Vishnu G. [email protected] wrote:

Is their a command that runs commands on your personal box? I want
http://www.soen.info


John K.
[email protected]

http://www.kopanas.com

http://www.soen.info