$ ruby --version
ruby 1.8.5 (2006-08-25) [x86_64-linux]

$ /var/lib/gems/1.8/bin/cap --version
Capistrano v2.0.0

I am trying to run a series of shell commands via 'run' and a here doc, 
like:

    run <<-EOS
.
.
.
.
    EOS

However, I always get "sh -c, unexpected end of file on line xx"

However, if I put all the shell commands on one line, I get no failures, 
and all the commands run correctly. If I run this at the command line, 
as formatted, it runs fine with no errors.

Code here: http://pastie.org/821292.txt

Any suggestions?

Thanks!

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x14EA086E

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