Created
June 22, 2012 20:10
-
-
Save lkfken/2974896 to your computer and use it in GitHub Desktop.
Simplest Possible Ruby Web Server: Using Rack for a one-liner
This file contains 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
#credit to: http://phrogz.net/simplest-possible-ruby-web-server | |
ruby -rrack -e "include Rack;Handler::Thin.run Builder.new{run Directory.new''}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment