Updated

Execute this inside the folder you want to serve, i.e. static html files

ruby -run -e httpd . -p5000

Then open your browser and goto

http://127.0.0.1:5000

Njoy!