craig at coot.net
2012-Mar-04 23:17 UTC
[Win32utils-devel] JRuby devkit "gem install win32-api" fails. what to do?
<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><div><br></div><div>I''m working on using JRuby in a windows shop. Install of gem win32-api failed.</div><div><br></div><divre>$ gem install win32-api --version ''~> 1.4.8''<br><br>I put a log at <br><a href="https://gist.github.com/1966688">https://gist.github.com/1966688</a><br><br>I think the RubyInstaller devkit is properly attached to the JRuby 1.6.7.<br><br>Any ideas on what to do?<br><br></pre><p></div></span></body></html>
Daniel Berger
2012-Mar-05 00:10 UTC
[Win32utils-devel] JRuby devkit "gem install win32-api" fails. what to do?
On Sun, Mar 4, 2012 at 4:17 PM, <craig at coot.net> wrote:> > I''m working on using JRuby in a windows shop.? Install of gem win32-api > failed. > > $ gem install win32-api --version ''~> 1.4.8'' > > I put a log at > https://gist.github.com/1966688 > > I think the RubyInstaller devkit is properly attached to the JRuby 1.6.7. > > Any ideas on what to do?I''m afraid JRuby and win32-api are incompatible at the moment. I''m actually busy converting the windows-pr library to use ffi, which will obviate the need for win32-api altogether. Heesob has done some fantastic work to make ffi work with MSVC++, so that''s what is driving the overhaul. Once the next ffi version is released that includes MSVC++ support and I''ve finished windows-pr, I''ll start converting the various win32 libs to use ffi instead. Do you have a particular win32 lib you want converted first? Regards, Dan