This is the right place to ask this kind of questions and welcome to the list :) What kind of file are you loading? If you are reloading a ruby, you might want to try to use load instead of require. http://www.fromjavatoruby.com/2008/10/require-vs-load.html - Matt On Thu, Nov 12, 2009 at 11:11 AM, Frank Illenberger <illenberger@mac.com>wrote:
Hello folks,
please excuse me if this is not the right mailing list to post this question:
I am currently porting an application from PyObjC to MacRuby. Under PyObjC it is possible to reload a .py file containing a class definition at runtime. -[MacRuby evaluateFileAtPath:] works fine for me loading a class for the first time. But after is loaded, it is not updated when called again. Does anybody know if there is a way to make this work with MacRuby?
Thanks and cheers
Frank
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel