Skip to content

Instantly share code, notes, and snippets.

@sauron
Last active August 29, 2015 14:14
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 sauron/c3e43f6b83e3cc6f98ed to your computer and use it in GitHub Desktop.
Save sauron/c3e43f6b83e3cc6f98ed to your computer and use it in GitHub Desktop.
Easiest way to serve a static folder with ruby. Just change your working directory to the one of your app and run it with ruby.
cd /path/to/my/static/page
ruby -run -ehttpd . -p8000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment