[MacRuby-devel] has anyone else noticed hotcocoa/graphics is no longer working...

Tim Rand timrandg at gmail.com
Wed Dec 2 15:51:37 PST 2009


Though the following code works on macruby 0.4 and mac OS 10.5.8, it no
longer works for me since updating macruby and the OS:

macruby -e 'require "hotcocoa/graphics"'
-e:1:in `<main>': private method `define_method' called for Class:Class
(NoMethodError)

I am running:
OS 10.6.2
MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64]
(with ruby version 1.9.0)

I don't see a define_method call anywhere in the source code in the
/Library/Frameworks/MacRuby.framework/Versions/0.5/usr/lib/ruby/1.9.0/hotcocoa/graphics.rb
file.

I just want to tinker with HotCocoa::Graphics.
Any advice or explanation would be appreciated.

Thanks,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20091202/22b8969b/attachment.html>


More information about the MacRuby-devel mailing list