> running Ruby script using apache like php.
> putting the source in /var/www
> and calling likehttp://localhost/test.rb

and if you become popular, you will need to cache as much generated
HTML as possible, and serve as many files directly from the hard drive
as possible, so you will need all the caching, routing, and
redirecting systems that are built into real LAMP stacks, such as RoR

RoR also features an industry-leading community, documentation, free
and paid support, and thousands of plugins...