return unless defined?(Rails::Server) require Rails.root.join('lib', 'hot_constants', 'hot_constants') HotConstants.initialize logger.info('hot constants initialized!') # TODO: provide kind of a callback method which provides new value of hot constant change