I'm setting up a mini deploy system with Ruby and Sinatra and Shell scripts, and when I trigger a deploy script I'd like ruby to continue to echo the output from the following:
post '/' do
`/home/deploy/deploy.sh`
end
How can I ensure that Ruby will echo the output and send a chunked response (so that the content can continue to load)?
Thanks!