aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands/servers
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/commands/servers')
-rw-r--r--railties/lib/commands/servers/mongrel.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/railties/lib/commands/servers/mongrel.rb b/railties/lib/commands/servers/mongrel.rb
index a110cac7c4..98441aca91 100644
--- a/railties/lib/commands/servers/mongrel.rb
+++ b/railties/lib/commands/servers/mongrel.rb
@@ -1,11 +1,14 @@
require 'rbconfig'
require 'commands/servers/base'
-unless defined?(Mongrel)
+unless defined?(Mongrel)
puts "PROBLEM: Mongrel is not available on your system (or not in your path)"
exit 1
end
+require 'initializer'
+Rails::Initializer.run(:initialize_logger)
+
require 'optparse'
detach = false