Run a webserver with one line of Ruby (2)
ruby -run -e httpd . -p 5000
Written by Erick Vanegas
Related protips
2 Responses

Thanks, this is useful.
over 1 year ago
·

alias rs='ruby -run -e httpd . -p 5000' to make it even quicker to run.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#