From: Alexander Kellett Date: 2005-02-21T21:05:46+09:00 Subject: Re: problems with rubycocoa on macosx 10.3.8 w/ ruby 1.8.1 could someone with a clue just make a .dmg? :) then its likely i'd try ruby-cocoa. but i refuse to install anything on my mac unless a) its me that should be making the installer :P or b) there is a .dmg i've tried installing manually in the past. nothing worked with 1.8.x. someone said that cvs now works. but this is just a tad too clumsy in my eyes. can't a snapshot version be released as a .dmg? i'd suffer with a *working* .tgz or whatever. but nothing i've tried works :( Alex On Feb 21, 2005, at 9:09 AM, Charles Steinman wrote: > jm wrote: >> tried and ran into problems with >> >> $ ruby sample/HelloWorld.rb >> /Users/gg/ulocal//lib/ruby/site_ruby/1.8/osx/cocoa.rb:12:in > `require': >> No such file to load -- osx/objc/cocoa (LoadError) >> from > /Users/gg/ulocal//lib/ruby/site_ruby/1.8/osx/cocoa.rb:12 >> from sample/HelloWorld.rb:14:in `require' >> from sample/HelloWorld.rb:14 >> >> I found this in >> /Library//Frameworks/RubyCocoa.framework/Versions/Current/Resources/ >> ruby/osx/objc/ and tried putting in a symbolic only to be rewarded > with >> "undefined superclass `ObjcID' (TypeError)" > > Is rubycocoa.bundle properly located in the powerpc-darwin7.2.0 folder? > That's what causes Ruby to link in the RubyCocoa framework, so it seems > to be a problem with that. I don't have the objc folder in my site_ruby > either and RubyCocoa works fine over here. > > Also, I found during some of my own troubleshooting that symbolic links > don't always work for RubyCocoa components (and in fact I think I got > that same error when I tried). You'll need to copy the actual resource. >