Run a webrick server to serve static html content in a folder

Need a quick way to serve html files?

Want to quickly share your static website to the rest of the world, this snippet might help:

  /directory/to/static/html$ ruby -run -e httpd . -p 9000

Reference:

Tenderlove’s Twitter