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...
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...