Ruby command-line tool helpers