bin/mongrel_rails in mongrel-0.3.10.1 vs bin/mongrel_rails in mongrel-0.3.11
- old
+ new
@@ -119,10 +119,16 @@
GemPlugin::Manager.instance.load "mongrel" => GemPlugin::INCLUDE
begin
# start mongrel processing thread
server.run
- STDERR.puts "Server ready."
+
+ if RUBY_PLATFORM !~ /mswin/
+ puts "Server Ready. Use CTRL-C to quit."
+ else
+ puts "Server Ready. Use CTRL-Pause/Break to quit."
+ end
+
server.acceptor.join
rescue Interrupt
STDERR.puts "Interrupted."
raise
end