update gemfile and database.yaml for pg