Do not install rmagick gem with jruby.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9341 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-04-06 10:26:55 +00:00
parent 725ff27c37
commit 7d458e0b27
1 changed files with 8 additions and 6 deletions

View File

@ -16,13 +16,15 @@ group :openid do
gem "ruby-openid", "~> 2.1.4", :require => "openid" gem "ruby-openid", "~> 2.1.4", :require => "openid"
end end
# Optional gem for exporting the gantt to a PNG file # Optional gem for exporting the gantt to a PNG file, not supported with jruby
platforms :mri, :mingw do
group :rmagick do group :rmagick do
# RMagick 2 supports ruby 1.9 # RMagick 2 supports ruby 1.9
# RMagick 1 would be fine for ruby 1.8 but Bundler does not support # RMagick 1 would be fine for ruby 1.8 but Bundler does not support
# different requirements for the same gem on different platforms # different requirements for the same gem on different platforms
gem "rmagick", ">= 2.0.0" gem "rmagick", ">= 2.0.0"
end end
end
# Database gems # Database gems
platforms :mri, :mingw do platforms :mri, :mingw do