Looks like I talked too fast, there isn't any BridgeSupport file for IOKit, even in Preview 2. I will look into it, as I'm planning to roll out a new version soon.
Laurent On Jan 17, 2011, at 1:53 PM, Joel Reymont wrote: > > On Jan 17, 2011, at 9:48 PM, Laurent Sansonetti wrote: > >> IOKit.framework should be wrapped in the latest BridgeSupport preview >> release. If you install it, you should be able to talk to the IOKit APIs >> from MacRuby, in theory. > > Doesn't seem to work! > > macirb > irb(main):001:0> framework 'IOKit' > => true > > irb(main):002:0> IOMasterPort > NameError: uninitialized constant IOMasterPort > > irb(main):003:0> IOServiceMatching > NameError: uninitialized constant IOServiceMatching > > > --- > http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont > > > > > > _______________________________________________ > MacRuby-devel mailing list > MacRuby-devel@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel