Files
openproject/config/additional_boot.rb.example
Oliver Günther f28e88e89f [25464] Optional additional_boot instructions to evaluate early
The hashie warnings from 25464 are evalauted early on while bundler requires all necessary gems,
so silencing them is not possible without modifications to the code, subject to be overridden on each release.

Since there may be other instructions before Rails boots, let's add a simple `additional_boot.rb` functionality
similary to the `additional_environment.rb`, that a user MAY use to provide these statements.

https://community.openproject.com/projects/openproject/work_packages/25464/activity
2017-06-14 11:37:37 +02:00

9 lines
219 B
Plaintext

# Copy this file to additional_boot.rb and add any statements
# that should run prior to Rails booting.
#
# Example:
#
# Silence Hashie warnings in OpenProject 7.0.x
# require 'hashie'
# Hashie.logger = Logger.new(nil)