I'm currently hosted on a Mediatemple gridserver. I'm writing a site to teach myself Ruby - straight ruby, no rails. I've run into a few errors that appear to be a result of nested tags. For example:
eruby requires <% %> tags around ruby code. If I try to use erb templating I'm stuffed -
<%
template = ERB.new <<-EOF
The value of x is: <%= x %>
EOF
%>
This obviously won't work because of the nested <% %> tags. I think I'm running into a similar issue with the CGI class. Is there a way to alter the tags used for either erb or eruby? Or is there an easy way around this I'm totally missing?