From: takaoueda@... (Takao Ueda) Date: 2004-11-20T00:23:11+09:00 Subject: Comment line in Erb A line starting with # in an Erb program is not interpreted as a comment and displayed. This is annoying, since the first line of a CGI program must start with a #! line. Is the only solution to use the Erb Class within a ruby program? I use erb.bat in a Ruby 1.8 win32 installation. A simple example is: #!E:/ruby/bin/erb.bat <%print "Content-type: text/html\r\n\r\n"%> Erb Test

Erb Test

<%="The current time is #{Time.now}" %>
#This is a comment