[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

net-ping and ruby on one-click-install

Peña, Botp

3/12/2009 9:21:00 AM

Hi, just in case someone has a solution for this,

i just installed oneclickinstall(ruby186rc2) in windows, then installed =
net-ping. all fine, until i run a simple script that uses net-ping and i =
got the ff:

-------------------------->8
c:/ruby/lib/ruby/gems/1.8/gems/net-ping-1.2.3-x86-mswin32-60/lib/net/ping=
/icmp.rb:65: [BUG] rb_sys_fail(socket(2)) - errno =3D=3D 0
ruby 1.8.6 (2008-08-11) [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.
-------------------------->8


if i remove net-ping, the error does not occur, so it's sure a net-ping =
problem (w oneclickinstaller maybe)

thanks for the help

kind regards -botp





2 Answers

Heesob Park

3/12/2009 10:05:00 AM

0

Hi,

2009/3/12 Pe=C3=B1a, Botp <botp@delmonte-phil.com>:
> Hi, just in case someone has a solution for this,
>
> i just installed oneclickinstall(ruby186rc2) in windows, then installed n=
et-ping. all fine, until i run a simple script that uses net-ping and i got=
the ff:
>
> -------------------------->8
> c:/ruby/lib/ruby/gems/1.8/gems/net-ping-1.2.3-x86-mswin32-60/lib/net/ping=
/icmp.rb:65: [BUG] rb_sys_fail(socket(2)) - errno =3D=3D 0
> ruby 1.8.6 (2008-08-11) [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.
> -------------------------->8
>
>
> if i remove net-ping, the error does not occur, so it's sure a net-ping p=
roblem (w oneclickinstaller maybe)
>
> thanks for the help
>
>
This bug was reported and fixed.
Refer to http://redmine.ruby-lang.org/issue...

But unfortunately, there are no bug fixed release of 1.8.6 or 1.8.7.

The workaround is using Ruby 1.9.1 or building your own ruby from the
patched source code.

Regards,

Park Heesob

botp

3/12/2009 2:17:00 PM

0

On Thu, Mar 12, 2009 at 6:05 PM, Heesob Park <phasis@gmail.com> wrote:
> This bug was reported and fixed.
> Refer to http://redmine.ruby-lang.org/issue...

you fixed it. thanks.

> But unfortunately, there are no bug fixed release of 1.8.6 or 1.8.7.
>

arggh, that is unfortunate indeed. A bug is a bug and must be fixed.
Couldn't the oneclickinstaller incorporate your fixed?

> The workaround is using Ruby 1.9.1 or building your own ruby from the patched source code.
>

another reason to use 1.9.
maybe i'll have to abandon 1.8 completely now.

thanks and kind regards
-botp