[MacRuby-devel] MacRuby promise delivered

Michael Johnston lastobelus at mac.com
Wed Nov 23 17:52:49 PST 2011

I added basic fsevents reloading in my fork (https://github.com/lastobelus/MacRubyReload)

Should change to check an environment var first for list of directories to watch, and otherwise use project root. For now I just grabbed the dir of the rb_main.loc.txt entry.

I'm curious to experiment with automating the dynamic reloading of nib files. Anyone have any tips for that? The problem is that there are many patterns for using nibs, so it will be difficult to fully automate. But perhaps we can at least make it easy for common cases.

Another next step would be to attach a panel to any window with a running macirb in it whose top-level context is the window controller for that window. That might be actually fairly easy to do.


Michael Johnston
lastobelus at mac.com

On 2011-11-15, at 10:01 AM, Jean-Denis MUYS wrote:

> Following up on my Friday suggestion, I am happy to announce that I implemented a first version a Xcode MacRuby projects that dynamically reloads Ruby source code into a running application, allowing for a very dynamic incremental programming style.
> go to https://github.com/jdmuys/MacRubyReload to download the project. The ReadMe.markDown text file gives full instructions.
> Hopefully MacRuby Xcode templates can evolve to automatically provide a similar facility.
> This is all very simple and very primitive. There is a lot of room for improvement. I also apologize for my Ruby style: I probably haven't written more than 100 or so lines of Ruby code overall yet.
> I hope this gets the ball rolling.
> Jean-Denis
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

More information about the MacRuby-devel mailing list