In the absence of other alternatives, it seems to me that I will have to write my own Ruby wrapper for the parts of the AppleEvent C API that I need: mainly AEInstallEventHandler and related functions. Fortunately, Apple still supports this API, although it has been categorized as "legacy" in Apple's developer docs (although, interestingly, it's not out of date). I either integrate these functions using Ruby ffi gem, or most likely using the Ruby C API (which I still need to insert); using the C API directly will reduce the need for dependencies on other gems / modules. If all goes well, I will release it as a gem.
Regarding Donal Fellows comments, my need for custom AppleEvents - those supported through Tk in the documents he recommends can be accessed through Tk calls from the Ruby Tk interface.
Kevin walzer
source share