switch back to thin

This commit is contained in:
Thomas Reynolds 2011-07-26 16:23:09 -07:00
parent ff36d1ff6a
commit 7d5bfaec2e
2 changed files with 5 additions and 2 deletions

View file

@ -56,11 +56,13 @@ module Guard
def server_start def server_start
@server_options = { @server_options = {
:Port => @options[:port], :Port => @options[:port],
:Logger => ::WEBrick::Log.new('/dev/null'), :AccessLog => []
:AccessLog => ::WEBrick::Log.new('/dev/null') # :AccessLog => ::WEBrick::Log.new('/dev/null'),
# :Logger => ::WEBrick::Log.new('/dev/null')
} }
@server_job = fork do @server_job = fork do
@server_options[:app] = ::Middleman.server.new @server_options[:app] = ::Middleman.server.new
@server_options[:server] = 'thin'
::Rack::Server.new(@server_options).start ::Rack::Server.new(@server_options).start
end end

View file

@ -19,6 +19,7 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"] s.require_paths = ["lib"]
s.add_runtime_dependency("rack", ["~> 1.3.0"]) 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("thor", ["~> 0.14.0"])
s.add_runtime_dependency("tilt", ["~> 1.3.1"]) s.add_runtime_dependency("tilt", ["~> 1.3.1"])
s.add_runtime_dependency("rdiscount", ["~> 1.6.8"]) s.add_runtime_dependency("rdiscount", ["~> 1.6.8"])