Im using Mac on High Sierra 10.13.6
I try to Setup a Rails Application to run locally on my Mac. When i try to setup the Database with 'createdb xyz' and 'bin/setup', i get an error message:
Database 'xyz' does not exist FATAL: role "postgres" does not exist
Couldn't create database for {"adapter"=>"postgresql", "encoding"=>"unicode", "pool"=>5, "template"=>"template0", "host"=>"localhost", "username"=>"postgres", "password"=>"postgres", "database"=>"xyz"} rails aborted!
Any ideas how to fix this?