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