command line to do utility in Ruby