A two-minute tutorial on how to create a command-line gem. http://robdodson.me/blog/2012/06/14/how-to-write-a-command-line-ruby-gem/