# Rb\_sys\_fail(socket(2)) Ticket #9438

**URL:** <https://www.ruby-forum.com/t/rb-sys-fail-socket-2-ticket-9438/152216>\
**Category:** Ruby\
**Created:** [October 31, 2008, 1:22pm UTC](https://www.ruby-forum.com/t/rb-sys-fail-socket-2-ticket-9438/152216 "2008-10-31T13:22:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![shawnfessenden](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/77aa72/32.png) [@shawnfessenden](https://www.ruby-forum.com/u/shawnfessenden)\
**Post date:** [October 31, 2008, 1:22pm UTC](https://www.ruby-forum.com/t/rb-sys-fail-socket-2-ticket-9438/152216/1 "2008-10-31T13:22:40Z")

</div>

Where are we with respect to the (Windows) one click installer & this  
issue?

I don’t have VC++ 8 & so can’t compile. Are there binaries available  
somewhere? If so can I just plop 'em in \ruby\bin? Should I fall back to  
1.8.4?  
-SHAWN-

---

<div class="post-metadata">

**Author:** ![shawnfessenden](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/77aa72/32.png) [@shawnfessenden](https://www.ruby-forum.com/u/shawnfessenden)\
**Post date:** [October 31, 2008, 3:29pm UTC](https://www.ruby-forum.com/t/rb-sys-fail-socket-2-ticket-9438/152216/2 "2008-10-31T15:29:08Z")

</div>

Shawn F. wrote:

> Where are we with respect to the (Windows) one click installer & this  
> issue?
> 
> I don’t have VC++ 8 & so can’t compile. Are there binaries available  
> somewhere? If so can I just plop 'em in \ruby\bin? Should I fall back to  
> 1.8.4?  
> -SHAWN-

You could try the mingw ruby version. Then at least you have the  
compiler.  
Should it fail there then…unfortunately you’ll probably have to hack  
around in the C and try and figure out what is going on.  
It might be a ruby bug, might be a VC6 bug.  
you could try cygwin, too.  
Also could file a bug report on [http://redmine.ruby-lang.org/](http://redmine.ruby-lang.org/)  
Cheers!  
-=R

---

<div class="post-metadata">

**Author:** ![shawnfessenden](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/77aa72/32.png) [@shawnfessenden](https://www.ruby-forum.com/u/shawnfessenden)\
**Post date:** [October 31, 2008, 4:10pm UTC](https://www.ruby-forum.com/t/rb-sys-fail-socket-2-ticket-9438/152216/3 "2008-10-31T16:10:35Z")

</div>

“Roger P.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote in message  
news:removed\_email\_address@domain.invalid…

> compiler.  
> Should it fail there then…unfortunately you’ll probably have to hack  
> around in the C and try and figure out what is going on.  
> It might be a ruby bug, might be a VC6 bug.  
> you could try cygwin, too.  
> Also could file a bug report on [http://redmine.ruby-lang.org/](http://redmine.ruby-lang.org/)  
> Cheers!  
> -=R

Yes in fact it was determined (more or less) to be a … call it a VC6  
RT  
incompatibility. At any rate, dev folks are aware of it. In fact the  
ticket  
was closed almost a year ago. The binaries installed by the one click  
installer still suffer the problem (as of 1.8.6-26, PL 111).

I was hoping somebody had devised a workaround or there was a VC8 binary  
set  
around somewhere. I’m planning on distributing a rubyscript2exe  
executable  
that will target XP & use ICMP. But… that part is mostly just a  
whistle. I  
could do without it. Or 1.8.4 is an option.

Anyway thanks for the reply.  
-SHAWN-

---

<div class="post-metadata">

**Author:** ![shawnfessenden](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/77aa72/32.png) [@shawnfessenden](https://www.ruby-forum.com/u/shawnfessenden)\
**Post date:** [October 31, 2008, 10:50pm UTC](https://www.ruby-forum.com/t/rb-sys-fail-socket-2-ticket-9438/152216/4 "2008-10-31T22:50:33Z")

</div>

> [http://www.akitaonrails.com/2008/7/26/still-playing-with-ruby-on-windows](http://www.akitaonrails.com/2008/7/26/still-playing-with-ruby-on-windows)  
> is an example of the mingw installer. Perhaps it plays better.  
> Cheers!  
> -=R

Rats! No joy there either. Still - cool tips 🙂  
I’ll probably either fall back or just forget about ICMP. Es no biggie.

Thanks for your help R.  
-SHAWN-

---

<div class="post-metadata">

**Author:** ![shawnfessenden](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/77aa72/32.png) [@shawnfessenden](https://www.ruby-forum.com/u/shawnfessenden)\
**Post date:** [November 10, 2008, 8:05am UTC](https://www.ruby-forum.com/t/rb-sys-fail-socket-2-ticket-9438/152216/5 "2008-11-10T08:05:55Z")

</div>

> Rats! No joy there either. Still - cool tips 🙂  
> I’ll probably either fall back or just forget about ICMP. Es no biggie.

Heh. If it’s an msvcrt6 thing then you’ll either need to find [create?]  
a work around using msvcrt6 [maybe ask the mingw guys?] or build your  
own that doesn’t use msvcrt6–i.e. recompile all of ruby using a newer  
MS VC compiler than 6.0–scary.  
Take care!  
-=R

---

<div class="post-metadata">

**Author:** ![shawnfessenden](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/77aa72/32.png) [@shawnfessenden](https://www.ruby-forum.com/u/shawnfessenden)\
**Post date:** [October 31, 2008, 4:14pm UTC](https://www.ruby-forum.com/t/rb-sys-fail-socket-2-ticket-9438/152216/6 "2008-10-31T16:14:50Z")

</div>

Shawn F. wrote:

> “Roger P.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote in message  
> news:removed\_email\_address@domain.invalid…
> 
> > compiler.  
> > Should it fail there then…unfortunately you’ll probably have to hack  
> > around in the C and try and figure out what is going on.  
> > It might be a ruby bug, might be a VC6 bug.  
> > you could try cygwin, too.  
> > Also could file a bug report on [http://redmine.ruby-lang.org/](http://redmine.ruby-lang.org/)  
> > Cheers!  
> > -=R
> 
> Yes in fact it was determined (more or less) to be a … call it a VC6  
> RT  
> incompatibility. At any rate, dev folks are aware of it. In fact the  
> ticket  
> was closed almost a year ago. The binaries installed by the one click  
> installer still suffer the problem (as of 1.8.6-26, PL 111).
> 
> I was hoping somebody had devised a workaround or there was a VC8 binary  
> set  
> around somewhere. I’m planning on distributing a rubyscript2exe  
> executable  
> that will target XP & use ICMP. But… that part is mostly just a  
> whistle. I  
> could do without it. Or 1.8.4 is an option.
> 
> Anyway thanks for the reply.  
> -SHAWN-

If it’s a VC6 bug then it might not be a super huge prio, since OCI is  
moving away from VC6 hopefuly soon.

[http://www.akitaonrails.com/2008/7/26/still-playing-with-ruby-on-windows](http://www.akitaonrails.com/2008/7/26/still-playing-with-ruby-on-windows)  
is an example of the mingw installer. Perhaps it plays better.  
Cheers!  
-=R

---

<div class="post-metadata">

**Author:** ![shawnfessenden](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/77aa72/32.png) [@shawnfessenden](https://www.ruby-forum.com/u/shawnfessenden)\
**Post date:** [November 10, 2008, 8:50am UTC](https://www.ruby-forum.com/t/rb-sys-fail-socket-2-ticket-9438/152216/7 "2008-11-10T08:50:08Z")

</div>

2008/10/31 Shawn F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> Where are we with respect to the (Windows) one click installer & this issue?
> 
> I don’t have VC++ 8 & so can’t compile. Are there binaries available  
> somewhere? If so can I just plop 'em in \ruby\bin? Should I fall back to  
> 1.8.4?  
> -SHAWN-

That error was reported and fixed in the latest CVS.

Refer to [http://redmine.ruby-lang.org/issues/show/714](http://redmine.ruby-lang.org/issues/show/714)

Soon or later there will be new release on  
[http://www.garbagecollect.jp/ruby/mswin32/en/download/release.html](http://www.garbagecollect.jp/ruby/mswin32/en/download/release.html)

Regards,

Park H.

---

<div class="post-metadata">

**Author:** ![shawnfessenden](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/77aa72/32.png) [@shawnfessenden](https://www.ruby-forum.com/u/shawnfessenden)\
**Post date:** [November 15, 2008, 6:30pm UTC](https://www.ruby-forum.com/t/rb-sys-fail-socket-2-ticket-9438/152216/8 "2008-11-15T18:30:57Z")

</div>

> Heh. If it’s an msvcrt6 thing then …

I decided to just let it go. I’ll come back to it after everything else  
is  
done.  
-SHAWN-

---

<div class="post-metadata">

**Author:** ![shawnfessenden](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/77aa72/32.png) [@shawnfessenden](https://www.ruby-forum.com/u/shawnfessenden)\
**Post date:** [November 15, 2008, 6:31pm UTC](https://www.ruby-forum.com/t/rb-sys-fail-socket-2-ticket-9438/152216/9 "2008-11-15T18:31:34Z")

</div>

> Soon or later there will be new release on

Cool - thanks.  
-SHAWN-
