On Tue, 20 May 2003, Albert Chou wrote:

> Has anyone out there tried creating a Windows executable with Exerb from
> a script that contains a "require 'socket'" statement?  I tried
> contacting the author via email Friday in the early morning (Pacific
> Daylight Time) but have had no response yet.  Here's the behavior I'm
> seeing:
>
> Q:\>proxy_Windows.exe
> proxy_Windows.rb:2: [BUG] Segmentation fault
> ruby 1.6.8 (2002-12-24) [i586-mswin32]
>
> abnormal program termination
>
> Q:\>
>
> where the proxy_Windows.rb script starts out
>
> require 'smtpd'
> require 'socket'
> require 'net/smtp'
>
> and thus the executable is dying on requiring the socket library.
>
Which socket.so is included? This has happened to me for other c
extensions with exerb when then rbx contains a Ruby expecting a win32 or
mingw32 built extension and its gets a cygwin built one for example. Worth
making sure its not that problem...

Regards,

Robert Feldt