diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-07-06 20:37:49 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-07-06 20:37:49 +0000 |
commit | 9f3625dd0ae1691be3ea0b745a65149b9e4c2837 (patch) | |
tree | a324e178a265dbe4b84e7024fa8fe3a829636c7c /railties/lib | |
parent | 6a66f910a1dddfe8c7405fac586aba20346b38fe (diff) | |
download | rails-9f3625dd0ae1691be3ea0b745a65149b9e4c2837.tar.gz rails-9f3625dd0ae1691be3ea0b745a65149b9e4c2837.tar.bz2 rails-9f3625dd0ae1691be3ea0b745a65149b9e4c2837.zip |
Ensure the logger is initialized. Closes #5629.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4573 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/commands/servers/mongrel.rb | 5 |
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 |