Retrospring/config/environment.rb

8 lines
270 B
Ruby
Raw Normal View History

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