On Thursday, 26 February 2015 17:51:50 UTC+1, Lee Hambley wrote: > > It's documented *somewhere*, I recall having written about why, the long > and short version is "anything with a whitespace in it is not safe for us > to modify, and prepend and append paths, commands, etc", that unfortunately > also applies to test(), and of course there is no `test(:some, :symbol)` > syntax that makes sense. > > hi Lee, thank you for the explanation. I knew about the whitespace issues, but not it applied to test() as well. I'm glad I have a clear rule about what I can expect and what not.
> I'd suggest to use the `capture()` api to `capture(:pwd)`, and use Ruby's > `File.join()` APIs (or, just concatenate the strings) to build the command > to test for. > > Yes, I already made a function that essentially did this. But my main goal was to *understand* why my task was failing. So I am completely content now. Thanks again, Ruud -- 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 capistrano+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/6e349cd8-ddb0-40d4-836e-bf5c2d816c07%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.