From: Gavin E. <ga...@um...> - 2003-02-05 14:58:42
|
I'm new to Ruby and RubyCocoa, but not to Macs or Mac OS X, and I just downloaded Ruby 1.8.0 and RubyCocoa 0.4.0 and built them from sources. All seemed well, however, while "ruby" itself seems OK, RubyCocoa is not working as expected. To be specific, it seems that "rubycocoa.bundle" is not placing the RubtCocoa.Framework ruby library files in into the search path for ruby to locate the osx/objc/... *.rb files. The effect is that "require 'osx/cocoa'" does not get satisfied. irb irb(main):001:0> require 'osx/cocoa' LoadError: No such file to load -- osx/objc/cocoa from /usr/local/lib/ruby/site_ruby/1.8/osx/cocoa.rb:12:in `require' from /usr/local/lib/ruby/site_ruby/1.8/osx/cocoa.rb:12 from (irb):1:in `require' from (irb):1 I've tried this on two different Macs, admittedly configured very similarly. Anyone else out there using RubyCocoa, who's hit this and recovered, or who can get RubyCocoa to work with Ruby 1.8.0? I'm using Mac OS X 10.2.3 and the December 2002 Developer Tools. ... Thanks in advance, Gavin |