mirror of
https://github.com/github/rails.git
synced 2026-01-31 09:18:17 -05:00
Don't make new_mongrel server default yet
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8511 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -14,15 +14,11 @@ rescue Exception
|
||||
end
|
||||
|
||||
server = case ARGV.first
|
||||
when "lighttpd", "mongrel", "webrick"
|
||||
when "lighttpd", "mongrel", "new_mongrel", "webrick"
|
||||
ARGV.shift
|
||||
else
|
||||
if defined?(Mongrel)
|
||||
if Mongrel.respond_to?(:log)
|
||||
"new_mongrel"
|
||||
else
|
||||
"mongrel"
|
||||
end
|
||||
"mongrel"
|
||||
elsif RUBY_PLATFORM !~ /(:?mswin|mingw)/ && !silence_stderr { `lighttpd -version` }.blank? && defined?(FCGI)
|
||||
"lighttpd"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user