installed pg gem and config database.yml