Hi Simon,

I encountered the same problem and found that you can fix it by adding the
line:

require 'openssl/ssl'

to the top of your script. Hope this works!

Cheers,
Tim

On Thu, Dec 4, 2008 at 4:19 AM, Simon Heywood
<[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> wrote:

> Dear shoe wearers,
> I've read a few other posts about this (see links below), but would
> appreciate if someone could clarify whether openssl is broken in Shoes on
> Windows?
>
> I get the following error when using Mechanize to get a https page:
>
> undefined method `closed?' for#<OpenSSL::SSL::SSLSocket:0x1ec6f0c>
>
> I've also tried a simple shoes download example (as per the manual) with a
> https page and it just hangs. Nothing in the console.
>
> Many thanks,
>
> Si
>
>
> Links to the other OpenSSL threads I've read:
>
> http://thread.gmane.org/gmane.comp.lib.shoes/1922/focus=1930
>
> http://thread.gmane.org/gmane.comp.lib.shoes/823/focus=825
>
> http://thread.gmane.org/gmane.comp.lib.shoes/1381/focus=1479
>
> http://thread.gmane.org/gmane.comp.lib.shoes/2136
>
> Simon Heywood
> Super Up North, UK
> i-5-m.net
>

Reply via email to