diff --git a/lib/open_project/costs/engine.rb b/lib/open_project/costs/engine.rb index 6e81a20279..f1ce66c611 100644 --- a/lib/open_project/costs/engine.rb +++ b/lib/open_project/costs/engine.rb @@ -17,6 +17,10 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #++ +# Prevent load-order problems in case openproject-plugins is listed after a plugin in the Gemfile +# or not at all +require 'open_project/plugins' + module OpenProject::Costs class Engine < ::Rails::Engine engine_name :openproject_costs