command line Ruby app utilizing PostgreSQL database