retrospring/config/environment.rb
2020-04-19 00:59:22 +02:00

7 lines
270 B
Ruby

# Load the Rails application.
require_relative 'application'
# Initialize the Rails application.
start = Time.now
Rails.application.initialize!
puts 'processing time of Rails.application.initialize!: ' + "#{(Time.now - start).round(3).to_s.ljust(5, '0')}s".light_green