Use your Apple Remote from Ruby
This one is for Mac users only..
Tim Burks has put together a guide on how to use your Apple infra-red remote from Ruby at RubyCocoa.com. And, as an aside, RubyCocoa.com is a great resource if you're interested in using the Cocoa framework from Ruby.