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

Alistair Holt alistairholt at gmail.com
Sat Aug 29 14:14:52 PDT 2009


Does anyone have any ideas on this? It's driving me mad not being able to
use MacRuby on my MBP. I really don't want to have to try doing something
like a clean system install.
BTW - I installed MacRuby the same way on my MP and have had no problems
with it at all.

Alistair


2009/8/29 Alistair Holt <alistairholt at gmail.com>

> I've just upgraded to Snow Leopard and installed again from trunk but I'm
> still having the same issue with not being able to load the Cocoa framework
> in macirb. :(
> Alistair
>
> 2009/8/26 Alistair Holt <alistairholt at gmail.com>
>
> Perhaps I'll give installing another go. I did install 0.4 and went onto
>> install from trunk afterwards but neither worked at the time. I'll let you
>> know what happens.
>> Alistair
>>
>> 2009/8/26 Matt Aimonetti <mattaimonetti at gmail.com>
>>
>> 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
>>>>
>>>>
>>>
>>> _______________________________________________
>>> 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/20090829/08f78918/attachment-0001.html>


More information about the MacRuby-devel mailing list