there is mod_ruby just like mod_php.

there was lots of ruby applications before rails - but MVC was found to 
be best way to handle web development :)

anyway if you want just use mod_ruby - or cgi or fast-cgi.

choice is yours.

greets