rubyweb - The "simplest" web server in Ruby.
Synopsis
gem install rubyweb
rw
Use
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.
Note
Running rubyweb
at the command line is equivalent to typing:
ruby -run -r httpd . -p 8000
Where '.' is the document root.
You choose!