From: Tim P. <he...@ti...> - 2007-07-12 08:09:12
|
Ok sounds good - would I then just be able to do a normal require 'libxml' in my rb_main? Or would it be some OSX specific for loading a bundle? In terms of handling both PPC and Intel architecture, surely there must be a way of doing it? I would have thought there are some apps out there doing it as there are so many gems that use ruby C extensions and require compilation. Would one of the rc-dev team be able to tell us weather or not standalonafiy takes this into account? All the best Tim On 11 Jul 2007, at 22:26, Jon Baer wrote: > Yeah that is what those *.bundle items are when you looked @ PackRat > app ... > > Inside of lib you would put ... > > ./gems/1.8/gems/libxml-ruby-0.3.8.4/lib/xml/libxml_so.bundle > > And then require that bundle in rb_main. > > Im having a similar issue with Hpricot gem I want to use and not sure > the bundling of native items will work properly if the ruby binary > has not been updated. > > - Jon |