Permalink
Browse files

Prefer Mongrel over Thin [#658 state:resolved]

  • Loading branch information...
1 parent 576cae0 commit e0d7bace4ecb9152fac112e809af521e36fbc6a5 @josh josh committed Jul 19, 2008
Showing with 3 additions and 3 deletions.
  1. +3 −3 railties/lib/commands/server.rb
@@ -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

0 comments on commit e0d7bac

Please sign in to comment.