# Net-ping and ruby on one-click-install

**URL:** <https://www.ruby-forum.com/t/net-ping-and-ruby-on-one-click-install/162638>\
**Category:** Ruby\
**Created:** [March 12, 2009, 10:24am UTC](https://www.ruby-forum.com/t/net-ping-and-ruby-on-one-click-install/162638 "2009-03-12T10:24:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeSSSSaS\_Botp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ecd19e/32.png) [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Post date:** [March 12, 2009, 10:24am UTC](https://www.ruby-forum.com/t/net-ping-and-ruby-on-one-click-install/162638/1 "2009-03-12T10:24:40Z")

</div>

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 == 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

---

<div class="post-metadata">

**Author:** ![PeSSSSaS\_Botp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ecd19e/32.png) [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Post date:** [March 12, 2009, 11:08am UTC](https://www.ruby-forum.com/t/net-ping-and-ruby-on-one-click-install/162638/2 "2009-03-12T11:08:03Z")

</div>

Hi,

2009/3/12 PeÃ±a, Botp [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> 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

This bug was reported and fixed.  
Refer to [http://redmine.ruby-lang.org/issues/show/714](http://redmine.ruby-lang.org/issues/show/714)

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 H.

---

<div class="post-metadata">

**Author:** ![PeSSSSaS\_Botp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ecd19e/32.png) [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Post date:** [March 12, 2009, 3:20pm UTC](https://www.ruby-forum.com/t/net-ping-and-ruby-on-one-click-install/162638/3 "2009-03-12T15:20:39Z")

</div>

On Thu, Mar 12, 2009 at 6:05 PM, Heesob P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> This bug was reported and fixed.  
> Refer to [http://redmine.ruby-lang.org/issues/show/714](http://redmine.ruby-lang.org/issues/show/714)

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
