diff --git a/Gemfile b/Gemfile index 2498eef..c67a8ef 100644 --- a/Gemfile +++ b/Gemfile @@ -32,7 +32,7 @@ end platforms :mri, :mingw, :x64_mingw do # Optional gem for exporting the gantt to a PNG file, not supported with jruby group :rmagick do - gem "rmagick", "~> 2.13.4" + gem "rmagick", ">= 2.14.0" end # Optional Markdown support, not for JRuby diff --git a/lib/redmine.rb b/lib/redmine.rb index f041082..4eb1a44 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -18,7 +18,7 @@ require 'redmine/core_ext' begin - require 'RMagick' unless Object.const_defined?(:Magick) + require 'rmagick' unless Object.const_defined?(:Magick) rescue LoadError # RMagick is not available end