@@ -32,7 +32,7 end | |||||
32 | platforms :mri, :mingw, :x64_mingw do |
|
32 | platforms :mri, :mingw, :x64_mingw do | |
33 | # Optional gem for exporting the gantt to a PNG file, not supported with jruby |
|
33 | # Optional gem for exporting the gantt to a PNG file, not supported with jruby | |
34 | group :rmagick do |
|
34 | group :rmagick do | |
35 |
gem "rmagick", " |
|
35 | gem "rmagick", ">= 2.14.0" | |
36 | end |
|
36 | end | |
37 |
|
37 | |||
38 | # Optional Markdown support, not for JRuby |
|
38 | # Optional Markdown support, not for JRuby |
@@ -18,7 +18,7 | |||||
18 | require 'redmine/core_ext' |
|
18 | require 'redmine/core_ext' | |
19 |
|
19 | |||
20 | begin |
|
20 | begin | |
21 |
require ' |
|
21 | require 'rmagick' unless Object.const_defined?(:Magick) | |
22 | rescue LoadError |
|
22 | rescue LoadError | |
23 | # RMagick is not available |
|
23 | # RMagick is not available | |
24 | end |
|
24 | end |
General Comments 0
You need to be logged in to leave comments.
Login now