Re: how to get eruby to NOT buffer a page

Shugo Maeda <[email protected]> Tue, 02 Nov 2004 15:22:02 +0900
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
Hi,

Daniel Mynyk wrote:
> Can someone explain how to not buffer a page in eRuby if it is possible?

I implemented -s options in SVN head.
Can you try it?

http://svn.modruby.net/cgi-bin/viewcvs.cgi/eruby/trunk.tar.gz?view=tar

If you write the following line on the top of scripts, eruby doesn't
buffer output.

#!/usr/bin/eruby -s

eruby parse this line itself, so this should work on Windows.

Shugo