to_s on the inserted ruby does not force quotations which are necessary
for the actual script when it's run on system.  reverted changes from
<%= @variable.to_s %> to "<%= @variable %>"