summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/redmine.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index 8f4627e95..94c9bdfdf 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -17,6 +17,12 @@
require 'redmine/core_ext'
+begin
+ require 'RMagick' unless Object.const_defined?(:Magick)
+rescue LoadError
+ # RMagick is not available
+end
+
require 'redmine/about'
require 'redmine/access_control'
require 'redmine/access_keys'
@@ -53,12 +59,6 @@ require 'redmine/themes'
require 'redmine/hook'
require 'redmine/plugin'
-begin
- require 'RMagick' unless Object.const_defined?(:Magick)
-rescue LoadError
- # RMagick is not available
-end
-
if RUBY_VERSION < '1.9'
require 'fastercsv'
else