Skip to content

Instantly share code, notes, and snippets.

@voloko
Created September 23, 2009 13:31
Show Gist options
  • Save voloko/192006 to your computer and use it in GitHub Desktop.
Save voloko/192006 to your computer and use it in GitHub Desktop.
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