diff options
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r-- | lib/redmine.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb index f65715899..9fc2a103b 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -2,4 +2,10 @@ require 'redmine/version' require 'redmine/mime_type' require 'redmine/acts_as_watchable/init' +begin + require_library_or_gem 'rmagick' unless Object.const_defined?(:Magick) +rescue LoadError + # RMagick is not available +end + REDMINE_SUPPORTED_SCM = %w( Subversion Darcs Mercurial Cvs ) |