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

Matt Aimonetti mattaimonetti at gmail.com
Wed Aug 26 12:40:53 PDT 2009


I had the same problem occuring a few days ago, after reinstalling macruby
trunk today, everything is back to normal.

- Matt

On Mon, Aug 24, 2009 at 2:38 AM, Alistair Holt <alistairholt at gmail.com>wrote:

> Hi Laurent,
> Thanks for the reply. I ran it and got:
>
> ~ $ macruby -e "framework '/System/Library/Frameworks/Cocoa.framework'; p
> :ok"
> :ok
>
> My filesystem is definitely not case sensitive.
>
> Alistair Holt
>
>
> 2009/8/24 Laurent Sansonetti <lsansonetti at apple.com>
>
> 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
>>>
>>
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>
>
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20090826/ce36f371/attachment.html>


More information about the MacRuby-devel mailing list