Thanks for all the help Laurent. Here are the results:
Both of the following print 1:
$ macruby -e p
NSBundle.bundleWithPath('/System/Library/Frameworks/Cocoa.framework').loadAndReturnError(nil)
$ macruby -e p
NSBundle.bundleWithPath('/System/Library/Frameworks/Cocoa.framework').load
Trying to
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 alistairh...@gmail.com
Perhaps I'll give installing another go. I did install 0.4 and went onto
Hi Alistair,
So, looking at the error you pasted earlier, it seems that it's raised
in the following objc.m logic:
if (![bundle loadAndReturnError:error]) {
rb_raise(rb_eRuntimeError,
framework at path `%s' cannot be loaded: %s,
cstr,
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 alistairh...@gmail.comwrote:
Hi Laurent,
Thanks for the reply. I ran it and got:
~ $ macruby -e framework
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 mattaimone...@gmail.com
I had the same problem occuring a few days ago, after reinstalling
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,