Jordan Hubbard brought up RubyInject, discussed at:

  http://rubycocoa.sourceforge.net/RubyInject

RubyInject can be used with RubyCocoa to introspect on an
application's objects, send messages to them, etc.  It's
possible that it can do even more with MacRuby, but I dunno.

Anyway, I got brave and downloaded the RubyInject.  That
went OK, as did the xcodebuild step.  I edited the inject.rb
script into an mr_inject.rb variant (eg, removing RubyCocoa
goo) and gave it a try.  Sadly, it couldn't load dnssd.

So, I tried installing dnssd as a gem.  This worked OK, but
MacRuby still didn't find it.  Guessing that I needed macgem,
I gave that a try.  The results are documented on

  http://www.macruby.org/trac/wiki/MacRubyWithRubyInject

If someone can help me get this sucker loaded and running, I
promise to write it up on the wiki.  Any takers?

-r
-- 
http://www.cfcl.com/rdm            Rich Morin
http://www.cfcl.com/rdm/resume     [EMAIL PROTECTED]
http://www.cfcl.com/rdm/weblog     +1 650-873-7841

Technical editing and writing, programming, and web development
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to