The simplest web server in Ruby.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
rubyweb.gemspec

README.md

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!