replaced gem sqlite3 with gem pg