Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save skammer/261314 to your computer and use it in GitHub Desktop.
Save skammer/261314 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