Y
Hacker News
new
|
ask
|
show
|
jobs
by
jtdowney
4399 days 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
.
ruby -run -e httpd -- --port=8080 .
1 comments
marcosnils
4399 days ago
Say no more!.
link