added the pg gem and update database.yml