After playing with iremoted and Ruby’s IO.popen I guess I am convinced that Ruby really works as a glue on many levels.
So, using iremoted and capture Apple remote commands in the terminal it is trivial to use the remote to control a Ruby application. Of course, calling OS commands isn’t limited to Ruby.
Here is a minimal dungeon game which you control with the apple remote. If you ever manage to find your way out I would be surprised…
Who will be first to create a terminal based media center application using Ruby? With some more glue from RubyOSA (the Ruby/AppleEvent Bridge) it should’t be that hard.