How do I run a rake task from Capistrano?

Posted by Richard Poirier on Stack Overflow See other posts from Stack Overflow or by Richard Poirier
Published on 2008-11-23T06:28:55Z Indexed on 2010/04/13 13:32 UTC
Read the original article Hit count: 532

Filed under:
|
|

I already have a deploy.rb that can deploy my app on my production server.

My app contains a custom rake task (a .rake file in the lib/tasks directory).

I'd like to create a cap task that will remotely run that rake task.

© Stack Overflow or respective owner

Related posts about ruby

Related posts about rake