Thanks! I have a rake file with some tasks that use Rails environment that I want to invoke from cap.
The simplest way is to run `rake my_rakefile` inside my cap task, but I want to know if there are a way to see rake rails tasks from cap. Now I'm using `rake blah blah` P On 10 May, 09:37, prpht9 <[EMAIL PROTECTED]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
