Updated settings to use postgres and define ruby version in gemfile