From: Kyung won Cheon on
- Windows7

d:\> ruby -v
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]

d:\> starling --version
Starling 0.10.0

d:\> gem search eventmachine
eventmachine (0.12.10)

-------------------------------------------------------------

Errno::EBADF: Bad file descriptor - /var/spool/starling/test
in 'write_nonblock'

-------------------------------------------------------------

Is write_nonblock not supported on Windows?

Help Me^^
--
Posted via http://www.ruby-forum.com/.

From: Luis Lavena on
On Mar 31, 4:50 am, Kyung won Cheon <cho...(a)nate.com> wrote:
> - Windows7
>
> d:\> ruby -v
> ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
>
> d:\> starling --version
> Starling 0.10.0
>
> d:\> gem search eventmachine
> eventmachine (0.12.10)
>
> -------------------------------------------------------------
>
> Errno::EBADF: Bad file descriptor - /var/spool/starling/test
> in 'write_nonblock'
>
> -------------------------------------------------------------
>
> Is write_nonblock not supported on Windows?
>

It is, but it might be blocking on 1.8.7, not in 1.9.1

Either way, what is incorrect is the hardcoded path defined inside.
there is no /var/spool/starling/test on Windows.

--
Luis Lavena