提交 e0d7bace 编写于 作者: J Joshua Peek

Prefer Mongrel over Thin [#658 state:resolved]

上级 576cae00
......@@ -23,10 +23,10 @@
when "lighttpd", "mongrel", "new_mongrel", "webrick", "thin"
ARGV.shift
else
if defined?(Thin)
"thin"
elsif defined?(Mongrel)
if defined?(Mongrel)
"mongrel"
elsif defined?(Thin)
"thin"
elsif RUBY_PLATFORM !~ /(:?mswin|mingw)/ && !silence_stderr { `lighttpd -version` }.blank? && defined?(FCGI)
"lighttpd"
else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册