Our systems have a similar case -- we write a boatload of custom rake tasks 
each of which take arguments and so on -- Cape sounds like an appropriate 
solution in this (somewhat unusual) case.

Tom

On Wednesday, November 20, 2013 5:52:59 PM UTC-5, Nils Jonsson wrote:
>
> Yes, Cape may seem pointless if you’re running just one Rake task and 
> don’t mind hard-coding a Capistrano recipes for it.
>
> But if you want to mirror all Rake tasks, subsets of them, organize them 
> in Capistrano namespaces, rename Rake tasks when shown in Capistrano, 
> automatically pass their Rake task arguments dynamically, assign them to 
> different server roles, and list their full documentation via cap --tasksand 
> cap 
> --explain, then you’ll find Cape useful.
>
> On Wednesday, November 20, 2013 4:42:14 PM UTC-6, Lee Hambley wrote:
>>
>> Seems pointless, given that a take task is just a like of shell like 
>> everything else.
>> On 20 Nov 2013 23:41, "Nils Jonsson" <[email protected]> wrote:
>>
>>> Let me recommend the 
>>> Cape<http://www.google.com/url?q=http%3A%2F%2Fnjonsson.github.io%2Fcape&sa=D&sntz=1&usg=AFQjCNG97XIXLrkuFmE4BM1Esexskx2EGg>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.
>>>
>>

-- 
-- 
* 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