rubyweb - The "simplest" web server in Ruby.

Synopsis

gem install rubyweb
rubyweb

Use

Just type

rubyweb [document_root]

at the command line. For example:

rubyweb ~/web/

Will serve pages from $HOME/web.

If you leave off the document root, it will default to your current working directory.

Note

Running rubyweb at the command line is equivalent to typing:

ruby -run -r httpd . -p 8000

Where '.' is the document root.

You choose!