switch back to thin
This commit is contained in:
parent
ff36d1ff6a
commit
7d5bfaec2e
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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"])
|
||||||
|
|
Loading…
Reference in a new issue