Last active
August 29, 2015 14:14
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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