"rake aborted!" על פקודת "sudo bundle exec rake db:create" (macOS M1)

My guess is it probably database service isn’t running. Thus I would suggest to check that Psql is configured and running