Logan Capaldo
7/14/2006 5:11:00 PM
On Jul 14, 2006, at 12:47 PM, Human Dunnil wrote:
> Hello,
> I downloaded the binary version of RubyCocoa
> (RubyCocoa-0.4.2-tiger.dmg) and installed it with its default options.
>
> But seems there is a problem, because I can't load it!
>
> irb(main):001:0> require 'osx/cocoa'
> LoadError: no such file to load -- osx/cocoa
> from (irb):1:in `require'
> from (irb):1
>
> I checked the package content and checked my system too, everything is
> in place, but I can't load the library.
>
> ruby 1.8.4 (2005-12-24) [i686-darwin8.5.2]
> Mac OS X Version 10.4.7
>
> Thank you all in advance,
> - Dunnil
>
The RubyCocoa packages for whatever reason use the Apple supplied
ruby. You seem to have installed a compiled from sourc ruby (or
installed it perhaps from fink or darwinports).
try it with
/usr/bin/irb or /usr/bin/ruby