Laurent Sansonetti
lsans****@apple*****
Sat Apr 21 00:28:54 JST 2007
Hi Pierce, Sorry for the long reply (I have been away for the week). I will also reply to your CoreData thread. Regarding this issue, it is unfortunately not possible yet to embed RubyCocoa, as it requires it to locate the bridge support files. We will make sure the next release will support this though. Laurent On Apr 20, 2007, at 12:39 AM, Pierce T.Wetter III wrote: > > Ok, so I thought I followed the directions for embedding a framework > correctly, and it seems like it works because there's a Frameworks > folder in my application with a RubyCocoa.framework installed. > > Except I get this error: > > RubyFrictionless.app/Contents/Frameworks/RubyCocoa.framework/Versions/ > A/Resources/ruby/osx/objc/oc_wrapper.rb:22:in `method_missing': > undefined method `NSClassFromString' for OSX:Module (NameError) > from RubyFrictionless.app/Contents/Frameworks/ > RubyCocoa.framework/Versions/A/Resources/ruby/osx/objc/oc_import.rb: > 190:in `ns_import' > from RubyFrictionless.app/Contents/Frameworks/ > RubyCocoa.framework/Versions/A/Resources/ruby/osx/objc/oc_import.rb: > 154:in `const_missing' > from RubyFrictionless.app/Contents/Frameworks/ > RubyCocoa.framework/Versions/A/Resources/ruby/osx/objc/oc_import.rb: > 46:in `_bundle_path_for_framework' > from RubyFrictionless.app/Contents/Frameworks/ > RubyCocoa.framework/Versions/A/Resources/ruby/osx/objc/oc_import.rb: > 73:in `framework_loaded?' > from RubyFrictionless.app/Contents/Frameworks/ > RubyCocoa.framework/Versions/A/Resources/ruby/osx/objc/oc_import.rb: > 61:in `require_framework' > from RubyFrictionless.app/Contents/Frameworks/ > RubyCocoa.framework/Versions/A/Resources/ruby/osx/objc/cocoa.rb:9 > from RubyFrictionless.app/Contents/Frameworks/ > RubyCocoa.framework/Versions/A/Resources/ruby/osx/cocoa.rb:7:in > `require' > from RubyFrictionless.app/Contents/Frameworks/ > RubyCocoa.framework/Versions/A/Resources/ruby/osx/cocoa.rb:7 > from RubyFrictionless.app/Contents/Resources/rb_main.rb:9:in > `require' > from RubyFrictionless.app/Contents/Resources/rb_main.rb:9 > > Is there some other step I need to do? > > Pierce > > _______________________________________________ > Rubycocoa-devel mailing list > Rubyc****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel