Forked from voloko/localy serve files in folder through http
Created
December 21, 2009 22:34
-
-
Save skammer/261314 to your computer and use it in GitHub Desktop.
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 -e "require 'webrick';s=WEBrick::HTTPServer.new :Port=>3001,:DocumentRoot=>Dir.pwd;trap('INT'){s.shutdown};s.start" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment