Let me recommend the Cape <http://njonsson.github.io/cape> gem for this 
purpose. It makes it possible to invoke any Rake task (including ones using 
arguments and environment variables) with a single line of configuration in 
your *config/deploy.rb*. Organizing Rake tasks (renaming, namespacing, 
filtering) is a snap with a straightforward DSL.

Cheers!

On Monday, April 27, 2009 8:28:51 AM UTC-5, Hunt Jon wrote:
>
> 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.
>
>

-- 
-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to