Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jtdowney
· 12y ago · 0 comments
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 .
Comments
[–]
marcosnils
12y ago
Say no more!.