Openssl and windows

one-click installer, 1.8.6-25, XP.

in irb if I require 'openssl' I get
=> false

even so, openssl seems to work, i.e. I can encrypt and decrypt, list the
ciphers, etc. why does the require return false? if I do the same
thing on linux irb returns true.

thx
dxc

···

--
Posted via http://www.ruby-forum.com/.

one-click installer, 1.8.6-25, XP.

in irb if I require 'openssl' I get
=> false

The false just means that openssl has already been required, probably
by rubygems.

C:\>irb

require 'openssl'

=> false

exit

C:\>echo %rubyopt%
-rubygems
C:\>set rubyopt=-

C:\>irb

require 'openssl'

=> true

Gordon

···

On Aug 20, 3:12 pm, David x Callaway <supersau...@hotmail.com> wrote:

Gordon Thiesfeld wrote:

one-click installer, 1.8.6-25, XP.

in irb if I require 'openssl' I get
=> false

thanks!
dxc

···

On Aug 20, 3:12 pm, David x Callaway <supersau...@hotmail.com> wrote:

The false just means that openssl has already been required, probably
by rubygems.

C:\>irb

require 'openssl'

=> false

exit

C:\>echo %rubyopt%
-rubygems
C:\>set rubyopt=-

C:\>irb

require 'openssl'

=> true

Gordon

--
Posted via http://www.ruby-forum.com/\.