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

Matt Aimonetti mattaimonetti at gmail.com
Wed Dec 2 16:03:41 PST 2009


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 at 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 at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20091202/7345279f/attachment.html>


More information about the MacRuby-devel mailing list