Ok, so it seems not everything is working with ERB files...

If I do some simple Ruby code, like:

<%
puts "Hello, World!"
%>

There is no error, but there is also no output.

If I put:

<%= "Hello, World!" %>

There IS output.

In fact, it seems like it is actually parsing the code, because bogus code throws an error. However, nothing in the <% %> ever shows up. I even tried the "rendering-test.erb" file that comes with the source -- still nothing.

I read through the ERB docs at ruby-doc.org and tried some variations from there with no luck. Any help is appreciated!

-Josh

Reply via email to