changed gemfil for pg and edited database.yml