public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Prefer Mongrel over Thin [#658 state:resolved]
josh (author)
Sat Jul 19 09:42:27 -0700 2008
commit  e0d7bace4ecb9152fac112e809af521e36fbc6a5
tree    a4d36123c897ccbf6dc8206a3026b6c50da21905
parent  576cae004342899b0506a7834edc524a02a7d9ef
...
23
24
25
26
27
28
 
29
 
 
30
31
32
...
23
24
25
 
 
 
26
27
28
29
30
31
32
0
@@ -23,10 +23,10 @@ server = case ARGV.first
0
   when "lighttpd", "mongrel", "new_mongrel", "webrick", "thin"
0
     ARGV.shift
0
   else
0
-    if defined?(Thin)
0
-      "thin"
0
-    elsif defined?(Mongrel)
0
+    if defined?(Mongrel)
0
       "mongrel"
0
+    elsif defined?(Thin)
0
+      "thin"
0
     elsif RUBY_PLATFORM !~ /(:?mswin|mingw)/ && !silence_stderr { `lighttpd -version` }.blank? && defined?(FCGI)
0
       "lighttpd"
0
     else

Comments