[MacRuby-devel] RuntimeError: framework at path `Cocoa' cannot be loaded in macirb?

Laurent Sansonetti lsansonetti at apple.com
Sun Aug 23 17:45:02 PDT 2009


Hi Alistair,

This is very strange... could you try the following command?

$ macruby -e "framework '/System/Library/Frameworks/Cocoa.framework';  
p :ok"

Also, maybe your filesystem is case sensitive? The default format is  
case insensitive, in theory.

Laurent

On Aug 23, 2009, at 8:42 AM, Alistair Holt wrote:

> Hello,
>
> I've just installed MacRuby (MacRuby version 0.4 (ruby 1.9.1)  
> [universal-darwin9.5, x86_64]) via the package I downloaded from http://www.macruby.org 
>  and I dropped straight into macirb to start on the tutorial (http://www.macruby.org/documentation/tutorial.html 
> ). I ran framwork 'Cocoa' and uh oh.. a RuntimeError popped up.
>
> I've seen another thread on this list from January with the same  
> issue but there wasn't really any fix detailed. I've posted my  
> console output of lots of different commands at https://gist.github.com/359195517cc2364b82b8 
> .
>
> I'm running 10.5.8 on a MacBook Pro 2.4Ghz Intel Core 2 Duo. Hard  
> disk format is Mac OS Extended (Journaled).
>
> Hopefully someone can help me out.
>
> Thanks
>
> Alistair Holt
>
> E: alistairholt at gmail.com
> W: koopd.com / http://www.linkedin.com/in/alistairholt
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list