Index: [Article Count Order] [Thread]

Date:  Tue, 02 Nov 2004 15:22:02 +0900
From:  Shugo Maeda <shugo@...>
Subject:  Re: how to get eruby to NOT buffer a page
To:  modruby@... (modruby ML)
Message-Id:  <4187278A.1030504@...>
In-Reply-To:  <417FF399.5010808@...>
References:  <417FF399.5010808@...>
X-Mail-Count: 01341

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