From 7d458e0b2739772a041532dcf635604de3d7c8e8 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 6 Apr 2012 10:26:55 +0000 Subject: [PATCH] Do not install rmagick gem with jruby. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9341 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- Gemfile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index e6181298a..50439f10a 100644 --- a/Gemfile +++ b/Gemfile @@ -16,12 +16,14 @@ group :openid do gem "ruby-openid", "~> 2.1.4", :require => "openid" end -# Optional gem for exporting the gantt to a PNG file -group :rmagick do - # RMagick 2 supports ruby 1.9 - # RMagick 1 would be fine for ruby 1.8 but Bundler does not support - # different requirements for the same gem on different platforms - gem "rmagick", ">= 2.0.0" +# Optional gem for exporting the gantt to a PNG file, not supported with jruby +platforms :mri, :mingw do + group :rmagick do + # RMagick 2 supports ruby 1.9 + # RMagick 1 would be fine for ruby 1.8 but Bundler does not support + # different requirements for the same gem on different platforms + gem "rmagick", ">= 2.0.0" + end end # Database gems -- 2.39.5