Skip to content

Instantly share code, notes, and snippets.

@wcp1231
Created December 9, 2013 15:24
Show Gist options
  • Save wcp1231/7873868 to your computer and use it in GitHub Desktop.
Save wcp1231/7873868 to your computer and use it in GitHub Desktop.
OSX和Linux下用Ruby启动简单的Web Server。类似于 Python -m SimpleHTTPServer
ruby -run -e httpd . -p 5000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment