Created
December 20, 2013 00:41
-
-
Save agarie/8048725 to your computer and use it in GitHub Desktop.
Ruby webserver one-liner.
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
ruby -rwebrick -e 'WEBrick::HTTPServer.new(:Port => 3000, :DocumentRoot => Dir.pwd).start' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment