I have not even gotten this far. How did you get you scripts to execute? I can’t seem to find the right shebang. My browser just shows the raw code.
You can get rid of the need for an empty puts “” by forcing the HTML header.
We are going to use erubis for templating rather than ERB
#CGI is needed for headers. Without it the the output may default to plain text
set a new object
cgi = CGI.new(“html3”)
print header type