Win32api breaks gems on mono

Hi
The new win32api additions don’t work on another OS than windows.
This breaks rubygems and most likely rightly so.

[email protected]:~/Downloads/ironruby-2be42fd
» igem list
IronRuby.Libraries:0:in GetFunction': LoadLibrary (System::EntryPointNotFoundException) from :0:ininitialize’
from IronRuby.Libraries:0:in Create' from /usr/local/cloudslide/ironruby/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:48 from etc.rb:0 from :0:inrequire’
from /usr/local/cloudslide/ironruby/bin/igem:8
from :0:in `require’

renaming the win32api.rb file in lib/IronRuby changes the error about
kernel32 not being on the system.


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