If you have a need to quickly serve a static site locally you can just run the following:
ruby -rwebrick -e'WEBrick::HTTPServer.new(:Port => 3000, :DocumentRoot => Dir.pwd).start'
Posted by Andy Henson to Foxsoft (2016-04-20 12:00)
If you have a need to quickly serve a static site locally you can just run the following:
ruby -rwebrick -e'WEBrick::HTTPServer.new(:Port => 3000, :DocumentRoot => Dir.pwd).start'