From: Keith D. <kei...@go...> - 2008-09-07 13:30:55
|
I'm writing a hybrid Objective-C/Ruby framework and I need to know where I should call RBBundleInit() to ensure the Ruby classes are loaded. I tried calling it in an initialization function specified by INIT_ROUTINE which seemed logical but is leading to problems when I try to run gen_bridge_metadata. The framework I'm working on is a subumbrella and it contains Ruby code dependent on superclasses contained in the umbrella framework. Loading the framework without the parent causes require errors since the load path hasn't been patched. Is there another place I can call RBBundleInit() that won't be triggered by gen_bridge_metadata or will I be forced to generate the file by hand? Thanks, Keith |