Using HotCocoa inside a MacRuby project?
Hi all, I'm currently working on a MacRuby project and wanted to use HotCocoa for the window layout features (i.e. circumvent Interface Builder). However, if I include the following lines in rb_main.rb: require 'rubygems' require 'hotcocoa' I get this error: rb_main.rb:9:in `<main>': uninitialized constant MRAReferenceRenderer::KASTargetCurrent (NameError) I'm using MacRuby 0.6 and HotCocoa 0.5.1. Anybody know if it is possible to use HotCocoa within a MacRuby project? Thanks, -Gabriel
I figured out what was going on here — the error was actually caused by having a framework (appscript) with a missing BridgeSupport folder. Not sure why hotcocoa was triggering this problem, but in any case now that I have the correct framework loaded everything seems to be fine. Sorry for the bother! -Gabriel On Thu, Jun 3, 2010 at 4:32 PM, Gabriel Gilder <gabriel.gilder@gmail.com>wrote:
Hi all, I'm currently working on a MacRuby project and wanted to use HotCocoa for the window layout features (i.e. circumvent Interface Builder).
However, if I include the following lines in rb_main.rb: require 'rubygems' require 'hotcocoa'
I get this error: rb_main.rb:9:in `<main>': uninitialized constant MRAReferenceRenderer::KASTargetCurrent (NameError)
I'm using MacRuby 0.6 and HotCocoa 0.5.1.
Anybody know if it is possible to use HotCocoa within a MacRuby project?
Thanks, -Gabriel
participants (1)
-
Gabriel Gilder