From: Gavin E. <gav...@ma...> - 2003-09-10 04:54:10
|
> > cocoa.rb:12:in `require': No such file to load -- osx/objc/cocoa > >This issue is FAQ, but the appropriate answer of this is not yet >found out. > ... I struggled with this for a long time and gave up on several occasions, but I did fix it. I'm sorry to be a tease but it's way past the time I should be asleep, but the answer lies in the symbolic links that relate files in specific folders to more general locations. Those links are set up on Mac OS X by Apple's install of Ruby and, if they are not adjusted for (a) putting Ruby in /usr/local (instead of /usr), and for (b) Ruby version changes (1.8 for 1.6), or (c) changes in Darwin version (6.4 instead of 6.0), it won't work. I'll map out my Ruby stuff tomorrow to provide an explicitly working Ruby 1.8 / Mac OS X 10.2.6 combination ... Gavin |