mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
f28e88e89f
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
9 lines
219 B
Plaintext
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)
|