summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Gemfile2
-rw-r--r--lib/redmine.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/Gemfile b/Gemfile
index 2498eefa5..c67a8efbc 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 f041082a8..4eb1a44bd 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