Posts from 17 March 2013

All Posts from 17 March 2013

Start a webserver in current working directory using Ruby

If you’re working on a website and want to test the site and serve your current working directory as the website root, you can do it with Ruby:

ruby -r webrick -e "s = WEBrick::HTTPServer.new...
*