#!/usr/bin/env ruby require "webrick" s=WEBrick::HTTPServer.new( :BindAddress => "localhost", :Port => 8080, :DocumentRoot => File.dirname($0)+"/"+"www/" ) trap("INT") { s.shutdown } s.start
You need to create an account or log in to post comments to this site.