From: Kevin Lanik Date: 2005-05-13T22:20:02+09:00 Subject: Re: rubycocoa - uninitalized constant NSObject On May 12, 2005, at 5:20 PM, Charles Steinman wrote: > Kevin Lanik wrote: >> If i put OSX::NSLog("xyz"), I get xyz on the console like I should. > If >> i put myObject = OSX::NSObject.alloc.init I get the error >> uninitialized constant OSX::NSObject >> If I try to require 'osx/cocoa' the app crashes (it doesn't even > catch >> in my ruby exception handling) What am I missing? >> Thanks, >> Kevin > Does it work to require 'osx/cocoa' within IRB? It sounds like your > RubyCocoa install may be bad (though in that case it seems kind of > strange that it works as well as it does). > Yes, I can do this within IRB, or running the .rb with ruby from the command line. I think the problem may have to do with codewarrior somehow... I'm going to try a test in XCode to see if it persists, I'll post again with what I find.