I would include the hostname of your local machine in it's own role so you can use something like this...
role :role_your_local_machine_is_in, "hostname" task :local_rake_task_name, :roles => :role_your_local_machine_is_in do # run your commands here. end good luck -prpht9 On 9 May, 14:25, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi > > Im trying to automate remote process via cap 2.0, works fine, but now > I need to run some rake task on local machine where I run cap, what > could be the better way to do this? > > Thanks > > P --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
