Head broken on non-windows

github HEAD version is broken on non windows machines.

IronRuby incorrectly reports it’s running on windows, I can fix that in
build but if there will by binary distributions an installer or
needs to be created because many of the information from rbconfig is

Funny here’s some output of Config::CONFIG on a debian
“COMMON_HEADERS”=>“winsock2.h windows.h”
“configure_args”=>"–with-make-prog=nmake --enable-shared
“host_os”=>“mswin32”, <== my favorite

I get the same info when I’m on a mac. This is the cause of a lot of
in gems etc because they decide they’re on windows and things fail.
issues are easy to fix though.

Gems got broken today and I’m pretty sure Win32Api is the reason it’s
I propose that IronRuby should detect which OS it’s running on and throw
LoadError when it’s not windows.

Met vriendelijke groeten - Best regards - Salutations
Ivan Porto C.
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs