From: Tim Pease Date: 2008-07-09T01:31:35+09:00 Subject: Re: Ruby without rails? On Jul 8, 2008, at 10:23 AM, Shashank Agarwal wrote: > I'm trying to develop a small website, and was planning to use Ruby > alone (I don't know much Rails, and wasn't planning on learning it for > the project). Is there a way to run .rb files under a webserver. I'm > developing the site on Windows and will eventually be running it on a > unix platform with Apache. I tried using instantrails, but that didn't > help. I even installed the fast-cgi module in Apache. When I run > the .rb > file, I simple see the code. This is the code I'm trying to run - > > print <<-HTMLEND > > > Hello World > > >

Hello World

> > > HTMLEND If your intention is to generate static pages then I would recommend webby or one of the other static website generators written in ruby (nanoc, webgen, rassmalog). If you are going to connect to a database and serve dynamic content, then you could look into some of the rails alternatives: merb, ramaze, iowa, camping. Blessings, TwP