Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no windoze #1

Open
rdp opened this issue Aug 13, 2009 · 3 comments
Open

no windoze #1

rdp opened this issue Aug 13, 2009 · 3 comments

Comments

@rdp
Copy link

rdp commented Aug 13, 2009

that would be nice :)

@candlerb
Copy link
Owner

snailgun depends on fork, unix domain sockets, and passing open file descriptors across sockets. A Windows version would be completely different :-)

http://osdir.com/ml/ruby-talk/2009-05/msg01522.html

@rdp
Copy link
Author

rdp commented Sep 22, 2009

appears that it would be useful for cygwin, too [cygwin yields]

$ fautotest
file descriptor was not passed (msg_controllen=0, 16 expected)
        /usr/lib/ruby/gems/1.8/gems/snailgun-1.0.3/lib/snailgun/server.rb:30:in
`recv_io'
        /usr/lib/ruby/gems/1.8/gems/snailgun-1.0.3/lib/snailgun/server.rb:30:in
`run'
        /usr/lib/ruby/gems/1.8/gems/snailgun-1.0.3/lib/snailgun/server.rb:28:in
`fork'
        /usr/lib/ruby/gems/1.8/gems/snailgun-1.0.3/lib/snailgun/server.rb:28:in
`run'
        /usr/lib/ruby/gems/1.8/gems/snailgun-1.0.3/bin/snailgun:91
        /usr/lib/ruby/gems/1.8/gems/snailgun-1.0.3/bin/snailgun:70:in `fork'
        /usr/lib/ruby/gems/1.8/gems/snailgun-1.0.3/bin/snailgun:70
        /usr/lib/ruby/gems/1.8/gems/snailgun-1.0.3/bin/snailgun:69:in `each'
        /usr/lib/ruby/gems/1.8/gems/snailgun-1.0.3/bin/snailgun:69
        /usr/bin/snailgun:19:in `load'
        /usr/bin/snailgun:19
/usr/lib/ruby/gems/1.8/gems/snailgun-1.0.3/bin/fruby:35:in `read': Software caus
ed connection abort (Errno::ECONNABORTED)
        from /usr/lib/ruby/gems/1.8/gems/snailgun-1.0.3/bin/fruby:35
        from /usr/lib/ruby/gems/1.8/gems/snailgun-1.0.3/bin/fautotest:9:in `load
'
        from /usr/lib/ruby/gems/1.8/gems/snailgun-1.0.3/bin/fautotest:9
        from /usr/bin/fautotest:19:in `load'
        from /usr/bin/fautotest:19

@candlerb
Copy link
Owner

candlerb commented Oct 1, 2009

cygwin is just a layer on top of Windows. If Windows doesn't support Unix domain sockets, and/or passing of open file descriptors across such a socket (which the error above suggests to be the case), then snailgun won't work in its current form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants