On Aug 3, 2006, at 16:20, Une bñ×ue wrote: > Dave Howell <groups+2006 / howell.seattle.wa.us> wrote: > >> Did you require 'osx/cocoa'? > > not at all, i'm sure about that )) > > because, when : > require 'osx/cocoa' > > i get an error within my text editor (TextMate) or at terminal : > > LoadError: no such file to load -- rubycocoa > when using "require 'osx/cocoa'" within XCode : no prob... Hmm. I suspect if you hunt around in ~/Library/Frameworks or /Library/Frameworks, you'll find the RubyCocoa framework. Which is to say, nowhere on your command-line path directories, but exactly where Cocoa apps expect to find such things. Based on the misery I've experienced in this situation, were I you, I would now try to wipe every last trace of RubyCocoa off my system, then do a new install in order to get *one* copy of RubyCocoa that's visible to all the different ways you can run Ruby. If you don't wipe it first, then you can easily get in a situation where the command line is running a *different* version of RubyCocoa than XCode, and that's hideous to debug. Trust me on that one.