diff options
author | Gabe Kopley <gabe@coshx.com> | 2013-03-18 10:42:24 -0700 |
---|---|---|
committer | Gabe Kopley <gabe@coshx.com> | 2013-03-18 10:46:21 -0700 |
commit | b0557389de13103c32baee438bf2d58f40176f73 (patch) | |
tree | 1e1b53eed626071318a20d1ac69313b523c420f3 /railties/lib/rails/commands | |
parent | 2392535f4085d88186097e3c23414e958fb1d16d (diff) | |
download | rails-b0557389de13103c32baee438bf2d58f40176f73.tar.gz rails-b0557389de13103c32baee438bf2d58f40176f73.tar.bz2 rails-b0557389de13103c32baee438bf2d58f40176f73.zip |
More helpful message when starting server
v2 of pull request based on feedback from @rafaelfranca, @schneems, and @carlosantoniodasilva
Diffstat (limited to 'railties/lib/rails/commands')
-rw-r--r-- | railties/lib/rails/commands/server.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/server.rb b/railties/lib/rails/commands/server.rb index 876d457359..e3119ecf22 100644 --- a/railties/lib/rails/commands/server.rb +++ b/railties/lib/rails/commands/server.rb @@ -62,7 +62,7 @@ module Rails url = "#{options[:SSLEnable] ? 'https' : 'http'}://#{options[:Host]}:#{options[:Port]}" puts "=> Booting #{ActiveSupport::Inflector.demodulize(server)}" puts "=> Rails #{Rails.version} application starting in #{Rails.env} on #{url}" - puts "=> Call with -d to detach" unless options[:daemonize] + puts "=> Run `rails server -h` for more startup options" trap(:INT) { exit } puts "=> Ctrl-C to shutdown server" unless options[:daemonize] |