From def118b42a82dea119c7449919ec994808169031 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 2 Dec 2012 18:32:29 +0000 Subject: [PATCH] Fixed dependency loading for when running in dev mode (#12097). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10912 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/redmine.rb b/lib/redmine.rb index ef3c71892..8f4627e95 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -25,17 +25,14 @@ require 'redmine/activity/fetcher' require 'redmine/ciphering' require 'redmine/codeset_util' require 'redmine/custom_field_format' -require 'redmine/hook' require 'redmine/i18n' require 'redmine/menu_manager' require 'redmine/notifiable' require 'redmine/platform' -require 'redmine/plugin' require 'redmine/mime_type' require 'redmine/notifiable' require 'redmine/search' require 'redmine/syntax_highlighting' -require 'redmine/themes' require 'redmine/thumbnail' require 'redmine/unified_diff' require 'redmine/utils' @@ -52,6 +49,10 @@ require 'redmine/views/other_formats_builder' require 'redmine/views/labelled_form_builder' require 'redmine/views/builders' +require 'redmine/themes' +require 'redmine/hook' +require 'redmine/plugin' + begin require 'RMagick' unless Object.const_defined?(:Magick) rescue LoadError