From c2036adf7658f56c924e2a206731ee63b628f34f Mon Sep 17 00:00:00 2001 From: Lawrence Pit Date: Thu, 22 May 2008 12:06:27 +0100 Subject: Show rails version when the server starts. [#235 state:resolved] Signed-off-by: Pratik Naik --- railties/lib/rails/mongrel_server/commands.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/lib/rails/mongrel_server') diff --git a/railties/lib/rails/mongrel_server/commands.rb b/railties/lib/rails/mongrel_server/commands.rb index 3786a56fde..0a92f418ad 100644 --- a/railties/lib/rails/mongrel_server/commands.rb +++ b/railties/lib/rails/mongrel_server/commands.rb @@ -119,7 +119,7 @@ module Rails config = RailsConfigurator.new(settings) do defaults[:log] = $stdout if defaults[:environment] == 'development' - Mongrel.log("=> Rails application starting on http://#{defaults[:host]}:#{defaults[:port]}") + Mongrel.log("=> Rails #{Rails.version} application starting on http://#{defaults[:host]}:#{defaults[:port]}") unless defaults[:daemon] Mongrel.log("=> Call with -d to detach") -- cgit v1.2.3