The getopt library provides two different command line option parsers. They are meant as easier and more convenient replacements for the command line parsers that ship as part of the Ruby standard library. Please see the README for additional comments.
Gemfile gem 'getopt', '~> 1.4.0'
install gem install getopt -v 1.4.0