Update Gemfile and database.yml for PostgreSQL