JRuby-OpenSSL gem 0.1 doesn't work after require 'openssl'
----------------------------------------------------------
Key: JRUBY-1724
URL: http://jira.codehaus.org/browse/JRUBY-1724
Project: JRuby
Issue Type: Bug
Components: JRuby-extras
Environment: JRuby trunk, JRuby-OpenSSL 0.1 gem, WinXP
Reporter: Bill Dortch
Priority: Blocker
Is there something else we have to do now after 'require'? It definitely
doesn't work out of the box.
{noformat}
C:\jruby\trunk>gem install c:\downloads\jruby\JRuby-OpenSSL-0.1.gem
Successfully installed JRuby-OpenSSL, version 0.1
Installing ri documentation for JRuby-OpenSSL-0.1...
Installing RDoc documentation for JRuby-OpenSSL-0.1...
C:\jruby\trunk>jirb
irb(main):001:0> require 'openssl'
=> true
irb(main):002:0> BN = OpenSSL::BN
Gem::LoadError: Could not find RubyGem jruby-openssl (>= 0.0.0)
from C:/jruby/trunk/lib/ruby/site_ruby/1.8/rubygems.rb:304:in
`report_activate_error'
from C:/jruby/trunk/lib/ruby/site_ruby/1.8/rubygems.rb:238:in `activate'
from C:/jruby/trunk/lib/ruby/site_ruby/1.8/rubygems.rb:76:in
`active_gem_with_options'
from C:/jruby/trunk/lib/ruby/site_ruby/1.8/rubygems.rb:50:in `gem'
from C:/jruby/trunk/lib/ruby/site_ruby/1.8/jruby/openssl/gem.rb:2:in
`gem'
from (irb):1:in `signal_status'
irb(main):003:0> OpenSSL::PKey::DH
NameError: uninitialized constant OpenSSL::PKey::DH
from (irb):1:in `signal_status'
irb(main):004:0> OpenSSL::PKey::DSA
NameError: uninitialized constant OpenSSL::PKey::DSA
from (irb):1:in `signal_status'
irb(main):005:0> OpenSSL::PKey
=> OpenSSL::PKey
irb(main):006:0> require 'JRuby-OpenSSL'
LoadError: no such file to load -- JRuby-OpenSSL
from
C:/jruby/trunk/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from (irb):1:in `signal_status'
irb(main):007:0>
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
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