From: Eloy D. <elo...@gm...> - 2008-05-13 09:33:15
|
Hi Allison, You can check the load paths with the global var $:, or the more descriptive $LOAD_PATH. As you can see it is installed in my ruby site dir: % irb >> $LOAD_PATH.select {|p| File.exist? File.join(p, 'osx') } => ["/Library/Ruby/Site/1.8", "/System/Library/Frameworks/ Ruby.framework/Versions/1.8/usr/lib/ruby/1.8"] Eloy On May 13, 2008, at 11:19 AM, Allison Newman wrote: > Hi Scott, > > Thanks for the reply. Sadly, my system is giving me back the same > info as yours, yet if I try "require 'osx/cocoa'" in irb, or in a > script ran from the command line, ruby tells me that it can't find > the file... > > Do you (or anybody else) know of a way to find out where require is > looking for it's files? > > Alli > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk |