[capistrano] Quote escaping hell

2011-10-06 Thread Matt L
I am trying to use the 'run' directive in cap and having a devil of a time dealing with nested single and double quotes. I come from the world of Perl so I cannot fathom how similar formatting can be achieved in Ruby. Here is what I am doing: My first example works as the command is not riddled w

[capistrano] Re: Run all tasks in namespace?

2011-10-06 Thread Matt L
I wrote a lovely missive about what I was doing by accidentally mailed it directly to Lee. Dang it. I actually do not want to run it serially, but functionally it doesn't really matter if I do for this task. It would be nice to know how to do this. It all really boils down to the problem of being

[capistrano] Run all tasks in namespace?

2011-10-03 Thread Matt L
I am trying to make a task that executes all tasks in a namespace. Because the tasks will be defined at execution by an array that changes, I need to make this work so that I can call each task of the namespace dynamically. This is what I mean: http://pastie.org/2634167 ... but there is not valid

[capistrano] deploy:cleanup stops after first server has no releases to clear

2011-09-29 Thread Matt L
The behavior of the deploy:cleaup task appears to be that when given a list of servers, at the first server it encounters with nothing to clean up it stops without checking the rest of the servers on the list. Why is this and is there a workaround to force it to check all servers that are supplied