![]() |
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
JRuby 1.7.4 |
Assignee:
|
Unassigned |
Components:
|
OpenSSL |
Created:
|
25/Jun/13 8:47 AM
|
Description:
|
Fails trying to load constant.
>> require 'openssl'
=> true
>> OpenSSL::Config::DEFAULT_CONFIG_FILE
NameError: uninitialized constant OpenSSL::Config::DEFAULT_CONFIG_FILE
from org/jruby/RubyModule.java:2631:in `const_missing'
from (irb):6:in `evaluate'
from org/jruby/RubyKernel.java:1093:in `eval'
from org/jruby/RubyKernel.java:1489:in `loop'
from org/jruby/RubyKernel.java:1254:in `catch'
from org/jruby/RubyKernel.java:1254:in `catch'
from /Users/myuser/.rvm/rubies/jruby-1.7.4/bin/irb:13:in `(root)'
I am getting this error specifically through use of the latest Excon gem in lib/excon/ssl_socket.rb
lines 21 - 28
else # attempt default, fallback to bundled
ssl_context.cert_store = OpenSSL::X509::Store.new
if File.exists?(OpenSSL::Config::DEFAULT_CONFIG_FILE)
ssl_context.cert_store.set_default_paths
else
ssl_context.cert_store.add_file(DEFAULT_CA_FILE)
end
end
|
Project:
|
JRuby
|
Priority:
|
Major
|
Reporter:
|
Chris Kershaw
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email