Hey guys,
I am currently using eruby + Apache to use embedded Ruby like so:
This is NOT a Rails site, just HTML with inline Ruby. I found out about it while reading through the Pragmatic Programmers guide here, http://www.ruby-doc.org/docs/ProgrammingRuby/html/web.html
For now, I am using LiteSpeed to serve the Apache pages via the LiteSpeed Web API but it would be way better if I could process the Ruby natively through LiteSpeed.
Is there a way I can get this done?
I am currently using eruby + Apache to use embedded Ruby like so:
Code:
This text is <% a = 100; puts "#{a}% Live!" %>
For now, I am using LiteSpeed to serve the Apache pages via the LiteSpeed Web API but it would be way better if I could process the Ruby natively through LiteSpeed.
Is there a way I can get this done?