gem install rubyweb
rw
Just type
rw [document_root]
at the command line. For example:
rw ~/web/
Will serve pages from $HOME/web
.
If you leave off the document root, it will default to your current working directory.
Running rubyweb
at the command line is equivalent to typing:
ruby -run -r httpd . -p 8000
Where '.' is the document root.
You choose!