From: "Ralph Pöllath" Date: 2003-10-07T03:51:30+09:00 Subject: Re: RubyCocoa problem: No such file to load -- osx/objc/cocoa Hi, > Either way, once you do this, you'll get a real error referencing a > missing Objective C superclass (or something like that, I forget all > of the details). I have never gotten beyond that point. Right, I can avoid the LoadError by specifying the correct include path on the command line, but for some reason, class ObjcID seems not to be defined: $ ruby -r'rubycocoa' -e 'puts "OK"' OK $ ruby -r'rubycocoa' -r 'osx/cocoa' -e 'puts "OK"' /usr/local/lib/ruby/site_ruby/1.8/osx/cocoa.rb:12:in `require': No such file to load -- osx/objc/cocoa (LoadError) from /usr/local/lib/ruby/site_ruby/1.8/osx/cocoa.rb:12 $ ruby -I/Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby -r'rubycocoa' -r 'osx/cocoa' -e 'puts "OK"' /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/osx/ objc/oc_object.rb:15: undefined superclass `ObjcID' (TypeError) from /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/osx/ objc/oc_all.rb:13:in `require' Cheers, -Ralph.