I have wondered this same thing. Sometimes a web framework isn't the
best option, but I know Ruby very well and I don't know PHP at all.
What would I have to do that I can just create a file called somepage.rb
with this in it:
<html>
<body>
<p>This is counting to 10: <%= 10.times { |n| print n+1, " " } %></p>
</body>
</html>
And just have to dump it into any old folder that Apache servers pages
in and have it served properly? Can I just do "sudo aptitude -y install
mod_ruby" and will it Just Work(tm)?
--
Posted via http://www.ruby-forum.com/.