2 Dec
2009
2 Dec
'09
11:51 p.m.
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