retrospring/config/environment.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
270 B
Ruby
Raw Normal View History

2014-08-01 11:23:47 +02:00
# Load the Rails application.
2020-04-19 00:59:18 +02:00
require_relative 'application'
2014-08-01 11:23:47 +02:00
# Initialize the Rails application.
2017-03-31 22:38:23 +02:00
start = Time.now
2014-08-01 11:23:47 +02:00
Rails.application.initialize!
2017-03-31 22:38:23 +02:00
puts 'processing time of Rails.application.initialize!: ' + "#{(Time.now - start).round(3).to_s.ljust(5, '0')}s".light_green