]> source.dussan.org Git - redmine.git/commitdiff
Don't use jruby-openssl with JRuby 1.7.0 (#12228).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 8 Dec 2012 09:22:46 +0000 (09:22 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 8 Dec 2012 09:22:46 +0000 (09:22 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10955 e93f8b46-1217-0410-a6f0-8f06a7374b81

Gemfile

diff --git a/Gemfile b/Gemfile
index 97f6d989c07ef9d7b1a5c78bee229cbc7e5e430b..586373f4d61b62f7be57a62fcf2abdabf52938af 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -52,7 +52,8 @@ platforms :mri_19, :mingw_19 do
 end
 
 platforms :jruby do
-  gem "jruby-openssl"
+  # jruby-openssl is bundled with JRuby 1.7.0
+  gem "jruby-openssl" if Object.const_defined?(:JRUBY_VERSION) && JRUBY_VERSION < '1.7.0'
 
   group :mysql do
     gem "activerecord-jdbcmysql-adapter"