method
start
v5.1.7 -
Show latest stable
- Class:
Rails::Server
start()public
No documentation available.
# File railties/lib/rails/commands/server/server_command.rb, line 37
def start
print_boot_information
trap(:INT) { exit }
create_tmp_directories
setup_dev_caching
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