From 7d5bfaec2ef6451980c63ac3c1bbb79366f3feda Mon Sep 17 00:00:00 2001 From: Thomas Reynolds Date: Tue, 26 Jul 2011 16:23:09 -0700 Subject: [PATCH] switch back to thin --- lib/middleman/guard.rb | 6 ++++-- middleman.gemspec | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/middleman/guard.rb b/lib/middleman/guard.rb index ac539bcb..992f86f7 100644 --- a/lib/middleman/guard.rb +++ b/lib/middleman/guard.rb @@ -56,11 +56,13 @@ module Guard def server_start @server_options = { :Port => @options[:port], - :Logger => ::WEBrick::Log.new('/dev/null'), - :AccessLog => ::WEBrick::Log.new('/dev/null') + :AccessLog => [] + # :AccessLog => ::WEBrick::Log.new('/dev/null'), + # :Logger => ::WEBrick::Log.new('/dev/null') } @server_job = fork do @server_options[:app] = ::Middleman.server.new + @server_options[:server] = 'thin' ::Rack::Server.new(@server_options).start end diff --git a/middleman.gemspec b/middleman.gemspec index 695d3913..4ec60db4 100644 --- a/middleman.gemspec +++ b/middleman.gemspec @@ -19,6 +19,7 @@ Gem::Specification.new do |s| s.require_paths = ["lib"] s.add_runtime_dependency("rack", ["~> 1.3.0"]) + s.add_runtime_dependency("thin", ["~> 1.2.11"]) s.add_runtime_dependency("thor", ["~> 0.14.0"]) s.add_runtime_dependency("tilt", ["~> 1.3.1"]) s.add_runtime_dependency("rdiscount", ["~> 1.6.8"])