Skip to content
Find file
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
Something went wrong with that request. Please try again.