From: Jeremy Hinegardner Date: 2007-11-07T17:05:07+09:00 Subject: Re: Write webpages in Ruby without Rails? - Newb Question On Wed, Nov 07, 2007 at 11:53:37AM +0900, Todd Benson wrote: > > As far as I can tell, Mongrel knows how to feed a web server( like > Apache), but is not necessarily a complete web server itself. > Somebody correct me if I'm wrong, because I can't seem to find any > straight example of somebody just using Mongrel with Ruby by > themselves to serve pages! You might want to give heel a try, that's pretty much what it is, mongrel with some mime-type sugar and nice directory listings. % sudo gem install heel % heel ** Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart). ** heel running at http://127.0.0.1:4331 with document root /home/jeremy/proj ** Use Ctrl-C to stop. ** Launching your browser... 127.0.0.1 - - [07/Nov/2007:00:58:17 MST] "GET / HTTP/1.1" 200 46615 127.0.0.1 - - [07/Nov/2007:00:58:17 MST] "GET /icons/folder.png HTTP/1.1" 200 537 127.0.0.1 - - [07/Nov/2007:00:58:17 MST] "GET /icons/application.png HTTP/1.1" 200 464 enjoy, -jeremy -- ======================================================================== Jeremy Hinegardner jeremy@hinegardner.org