mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Prefer Mongrel over Thin [#658 state:resolved]
This commit is contained in:
parent
576cae0043
commit
e0d7bace4e
1 changed files with 3 additions and 3 deletions
|
@ -23,10 +23,10 @@ server = case ARGV.first
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue