7 ms·
Ruby already has the ability to spin up a quick webserver for the current directory. This is supported through the un file in Ruby's stdlib: http://ruby-doc.org
by jtdowney 12y ago
Ruby already has the ability to spin up a quick webserver for the current directory. This is supported through the un file in Ruby's stdlib: http://ruby-doc.org/stdlib-2.0.0/libdoc/un/rdoc/Object.html http://ruby-doc.org/stdlib-2.0.0/libdoc/un/rdoc/Object.html.
ruby -run -e httpd -- --port=8080 .
- marcosnils 12y agoSay no more!.