Configuring the database to use postgres and adding gems to the Gemfile