G
Greg Brondo
Ok, I've got it kinda working (erb) that is...eruby doesn't want to compile
for me (I'm still a bit new to working with Makefiles -- cannot find
ruby.h).
Anyway, I can run erb like so: erb blah.rhtml
The problem is any ruby 'puts' statements appear first in the actual output.
blah.rhtml example:
<html>
<body>
<% puts "Hello World" %>
</body>
</html>
Will output:
Hello World
<html>
<body>
</body>
</html>
And my last question is what is preferred in a cgi setup? erb or eruby?
Thanks!
Greg B.
for me (I'm still a bit new to working with Makefiles -- cannot find
ruby.h).
Anyway, I can run erb like so: erb blah.rhtml
The problem is any ruby 'puts' statements appear first in the actual output.
blah.rhtml example:
<html>
<body>
<% puts "Hello World" %>
</body>
</html>
Will output:
Hello World
<html>
<body>
</body>
</html>
And my last question is what is preferred in a cgi setup? erb or eruby?
Thanks!
Greg B.