I recently gave a presentation to the Route 9 Ruby Group on how to write comand line applications with Ruby.
Writing Command Line Applications With Ruby [video]
launchware.com