method
start
v4.2.1 -
Show latest stable
- Class:
Rails::Server
start()public
No documentation available.
# File railties/lib/rails/commands/server.rb, line 74
def start
print_boot_information
trap(:INT) { exit }
create_tmp_directories
log_to_stdout if options[:log_stdout]
super
ensure
# The '-h' option calls exit before @options is set.
# If we call 'options' with it unset, we get double help banners.
puts 'Exiting' unless @options && options[:daemonize]
end