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
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to