Updated Gemfile and database.yml for postgresql.