changed sqlite3 gem to 'pg'