Skip to content

Instantly share code, notes, and snippets.

@stevenwilkin
Last active August 4, 2017 09:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevenwilkin/5ab871856d2464a23a203b1a9390e96d to your computer and use it in GitHub Desktop.
Save stevenwilkin/5ab871856d2464a23a203b1a9390e96d to your computer and use it in GitHub Desktop.
ruby -run -e httpd . -p 5000
ruby -rwebrick -e "WEBrick::HTTPServer.new(:Port => ENV['PORT'], :DocumentRoot => ENV['HOME']).start"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment