aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/mongrel_server
diff options
context:
space:
mode:
authorLawrence Pit <lawrence.pit@gmail.com>2008-05-22 12:06:27 +0100
committerPratik Naik <pratiknaik@gmail.com>2008-05-22 12:06:27 +0100
commitc2036adf7658f56c924e2a206731ee63b628f34f (patch)
tree420dd1e2e9fdc3878623a0737db901343f3a6697 /railties/lib/rails/mongrel_server
parent4e084c3d9860c31fca21395c13031f04bb510b15 (diff)
downloadrails-c2036adf7658f56c924e2a206731ee63b628f34f.tar.gz
rails-c2036adf7658f56c924e2a206731ee63b628f34f.tar.bz2
rails-c2036adf7658f56c924e2a206731ee63b628f34f.zip
Show rails version when the server starts. [#235 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'railties/lib/rails/mongrel_server')
-rw-r--r--railties/lib/rails/mongrel_server/commands.rb2
1 files changed, 1 insertions, 1 deletions
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")