Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (10 sloc) 247 Bytes
#!/usr/bin/env ruby
require 'rubygems'
require 'mongrel'
#require 'daemons'
#init()
#Daemons.daemonize()
Dir.chdir('/Users/tom/Downloads/')
h = Mongrel::HttpServer.new("0.0.0.0", "3000")
h.register('/', Mongrel::DirHandler.new('.'))
h.run.join