Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 10 lines (8 sloc) 0.269 kb
1ce38f4 @tkmr test test test
authored
1 #!/usr/local/bin/ruby
2 require "webrick"
3
4 port = ARGV[1] || 8888
5 server = WEBrick::HTTPServer.new({:DocumentRoot => ".",
6 :BindAddress => "*",
7 :Port => port})
8 trap('INT'){ server.shutdown }
9 server.start
Something went wrong with that request. Please try again.