Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: JRuby 1.5.6
-
Fix Version/s: None
-
Component/s: OpenSSL
-
Labels:None
-
Environment:JRuby 1.5.6, jruby-openssl 0.7.2, Rails 3 and Bundler
-
Number of attachments :
Description
We're using Bundler and added jruby-openssl as a dependency. Now it seems that when JRuby starts (https://github.com/jruby/jruby/blob/master/lib/ruby/site_ruby/shared/jruby/openssl/gem.rb), openssl is loaded and the latest installed version of the gem gets activated. This is a problem when you have both versions 0.7.2 and 0.7.3 installed, but told Bundler to use version 0.7.2:
"org.jruby.exceptions.RaiseException: You have already activated jruby-openssl 0.7.3, but your Gemfile requires jruby-openssl 0.7.2."
Please let me know if you need any more details.
Issue Links
- is duplicated by
-
JRUBY-5752
Problem when using Bundler and depending on bouncy-castle-java
-
Good point, but do you have a reason to require jruby-openssl 0.7.2?