[MacRuby-devel] hotcocoa - can't find executable
Laurent Sansonetti
lsansonetti at apple.com
Thu Jan 29 09:24:32 PST 2009
Hi Robert,
This is quite strange!
Could you give us more details regarding your environment (OS version
+ CPU architecture).
Also, does the problem also happen if you do:
$ macruby -e "NSBundle.bundleWithPath('/System/Library/Frameworks/
Cocoa.framework').load; p :ok"
Or:
$ macruby -e "framework 'Cocoa'"
Thanks,
Laurent
On Jan 28, 2009, at 6:07 PM, Robert Schaaf wrote:
> Hello everybody,
>
> I'm new to these parts, so maybe this has already been asked and
> answered.
>
> When I first installed version 3, HotCocoa worked fine, Now,
> somehow, after a couple of months of not looking at it, this happens:
>
> travelers-macbook-pro-17:~ traveler$ macirb
> >> require 'hotcocoa'
> RuntimeError: framework at path `Cocoa' cannot be loaded: Error
> Domain=NSCocoaErrorDomain Code=4 UserInfo=0x16a1480 "The bundle
> “Cocoa” could not be loaded because its executable could not be
> located."
> from /Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/
> ruby/1.9.0/hotcocoa.rb:1:in `framework'
> from /Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/
> ruby/1.9.0/hotcocoa.rb:1:in `<top (required)>'
> from (irb):1:in `require'
> from (irb):1
> from /usr/local/bin/macirb:12:in `<main>'
> >>
>
> Does anyone know why? Is it a path probelm? Where exactly is this
> executable supposed to be?
>
> Please help, and them I can get on to the heartbreak of macgem.
>
> Thanks.,
>
> Bob Schaaf
>
> _______________________________________________
> 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