instance method
start
Ruby on Rails 5.2.8.1
Since v3.0.20Signature
start()
No documentation comment.
Source
# File railties/lib/rails/commands/server/server_command.rb, line 46
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
Defined in railties/lib/rails/commands/server/server_command.rb line 46
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Server