Hi Lee, Thanks a lot!!!
On Mon, Apr 27, 2009 at 10:54 PM, Lee Hambley <[email protected]> wrote: > Jona, > You can have a task like this: > > task :run_my_rake_task, :roles => :app do > run("cd #{current_path}; rake my:task") > end > > Hope this helps! > - Lee > > 2009/4/27 Hunt Jon <[email protected]> >> >> I'm developing Rails apps. Sometimes I run rake tasks in the production >> server. >> >> Currently I ssh into the server >> , and go to "current" directory >> , and run the rake task. >> >> Is there any way to use Capistrano for there tasks? >> >> Jona. >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
