#!/usr/bin/env ruby
require "webrick/cgi"
class HelloCGI < WEBrick::CGI
def do_GET(req, res)
res["content-type"] = "text/plain"
res.body = "Hello, world.\n"
end
HelloCGI.new.start