I believe I fixed this bug after 0.5 beta2, what version are you on?

- Matt

On Wed, Dec 2, 2009 at 3:51 PM, Tim Rand <timrandg@gmail.com> wrote:
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

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel