1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

[skip ci] Update initialization guide start method to include change

- remove #print_boot_infornation method and method call
This commit is contained in:
Israel Tomilayo 2019-12-02 11:28:51 +01:00
parent b50fed1bb0
commit ee179088df

View file

@ -338,7 +338,6 @@ defined like this:
```ruby
def start
print_boot_information
trap(:INT) { exit }
create_tmp_directories
setup_dev_caching
@ -349,9 +348,10 @@ def start
end
private
def print_boot_information
...
puts "=> Run `rails server -h` for more startup options"
def setup_dev_caching
if options[:environment] == "development"
Rails::DevCaching.enable_by_argument(options[:caching])
end
end
def create_tmp_directories
@ -360,12 +360,6 @@ private
end
end
def setup_dev_caching
if options[:environment] == "development"
Rails::DevCaching.enable_by_argument(options[:caching])
end
end
def log_to_stdout
wrapped_app # touch the app so the logger is set up