That works great.  Thanks!


Armin Roehrl wrote:
>>I have a *.rhtml file which takes quite a bit of time to be generated
>>dynamically using mod_ruby and eruby.  Since the data the page is
>>gathering only changes once a day, I'd like to setup a cron job which
>>will execute the page through eruby and dump the resulting html into a
>>regular static *.html file.  However, when I execute "eruby
>>testpage.rhtml > testpage.html" from a terminal, eruby executes in
>>offline mode and prompts me for name=value pairs.  Is there anyway to
>>disable this prompt so that eruby will just create the html without
>>waiting for user input before proceeding?  Any help is appreciated.
> 
> Try to pipe sth. in.
> 
> touch nothing #makes an empty file
> ruby fobar2.rb  < nothing
> 
> If you want to set the values put them into the file
> nothing. It will be as if you typed it on the keyboard.
> 
> Bye,
> 	-A.
> 
> -----------------------------------------------
> Armin Roehrl, http://www.approximity.com
> 
> 
> 
> 
>