Forum: Ruby Instructions for downloading and installing win32-open3 modu

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F82a441e09b4725a51db48b6639ae82c?d=identicon&s=25 Jatinder Singh (Guest)
on 2006-06-12 14:28
(Received via mailing list)
Hi All,

In recent past I have used Win32-service module; I came to RubyTalk on
instruction for how to install service module. Park Heesob gave me
service.so file and told me to put this fine in win32 directory present
in
ruby\lib\ruby\site_ruby\1.8\i386-msvcrt\win32 directory.

Now I want to use win32-open3 module, from website
http://rubyforge.org/projects/win32utils/ I got open3-0[1].2.2.so file;
but
now on copying it to win32 directory mentioned aboove, I am not able to
use
win32-open3 module.

Help is appreciated.

Regards,
Jatinder
F82a441e09b4725a51db48b6639ae82c?d=identicon&s=25 Jatinder Singh (Guest)
on 2006-06-12 14:48
(Received via mailing list)
Hi,

I was able to get around with the installation by renaming the so file
to
open3.so and putting it in the mentioned folder, but now on executing
the
ruby program I get following error,



check.rb:3: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [i386-mswin32]


This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
Following are the contents of ruby program,

require "win32/open3"

input, out, err, @pid = Open4.popen4('dir')



Help Appreciated!

Thanks

Jatinder
E51d56251ec4affafe85ee9367228965?d=identicon&s=25 Park Heesob (Guest)
on 2006-06-12 15:04
(Received via mailing list)
Hi,

>ruby program I get following error,
>Following are the contents of ruby program,
>
>Jatinder
>
Same as win32-serivce.so, you can download "open3.so" at
http://home.nownuri.net/~phasis/open3.so
and copy to ruby\lib\ruby\site_ruby\1.8\i386-msvcrt\win32 directory

Soon or later, the segfaulting binary files will be replaced with
correct
version.

Regards,

Park Heesob
F82a441e09b4725a51db48b6639ae82c?d=identicon&s=25 Jatinder Singh (Guest)
on 2006-06-12 18:22
(Received via mailing list)
Thanks this open3.so works!

-Jatinder
This topic is locked and can not be replied to.