[MacRuby-devel] Compiling HotCocoa

isaac kearse isaackearse at gmail.com
Sat Feb 6 21:04:00 PST 2010


I was trying to speed up a little HotCocoa app I just released (
http://isaac.kearse.co.nz/2010/02/07/safarirss/ ) and when I tried to
compile HotCocoa I ran into a strange issue with one particular file:

http://github.com/richkilmer/hotcocoa/blob/master/lib/hotcocoa/mappings.rb

All the files in HotCocoa (including mappings) compiled into .rbo files with
macrubyc -C, but when I tried to require HotCocoa it wouldn't work I unless
deleted mappings.rbo and defaulted to mappings.rb

This is the error from the Console.app:

application.rb:8:in `start'
application.rb:1:in `<main>'
undefined method `application' for #<Application:0x2002469a0>

The line numbers have changed but this is the method "application" referred
to: http://github.com/isaac/SafariRSS/blob/master/lib/application.rb#L13

As soon as I deleted mappings.rbo it worked fine.

Anyone have any ideas what might be going on here?

Cheers,
Isaac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20100207/6413806c/attachment.html>


More information about the MacRuby-devel mailing list