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 with single
quotes, parenthesis, etc...

http://pastie.org/2651755

My second example however makes my brain hurt. I am trying to execute
this command by way of run:

/opt/rpx/app/current/script/runner -e $RAILS_ENV "puts
Mailer.deliver_depot_log_email('[email protected]',
'This is a test. This is only a test.', 'Test type')"

This is how I am attempting to do with, with only the smell of failure
as a result. I took all my weak attempts out to just leave things
bare:

http://pastie.org/2651786

Honestly, if there was a comprehensive guide on how to wrangle these
problems I would be grateful to have it, but I have been yet to find
it, probably because I am not searching for the right thing.

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

Reply via email to