Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 10 lines (8 sloc) 269 Bytes
#!/usr/local/bin/ruby
require "webrick"
port = ARGV[1] || 8888
server = WEBrick::HTTPServer.new({:DocumentRoot => ".",
:BindAddress => "*",
:Port => port})
trap('INT'){ server.shutdown }
server.start
Something went wrong with that request. Please try again.