Since a capfile is just a ruby script, you can use any of your usual Ruby methods for executing processes, e.g. system() or backticks (`blah`).

- Jamis

On Dec 1, 2007, at 7:50 AM, Tim Finley wrote:


I'm also interested doing local filesystem manipulation, any ideas?

On Dec 1, 3:12 am, Chris Williams <[EMAIL PROTECTED]> wrote:
Is there an easy way to create a capistrano task that only runs on my
local machine?
For example,  I want to write a capistrano task that first generates
an xml sitemap on my local machine, then uploads this sitemap
to each of my webservers.  I know how to do the upload part, but I'm
not sure how to write a task in capistrano that only runs locally.

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


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to