For Linux users:
If you got an error like:
ActiveRecord::NoDatabaseError FATAL: role does not exist
bundle exec rails db:create
Assuming you already have PostGre installed in your system, you just need to create a new database role with:
sudo -u postgres createuser -s yourDistroUsernameHere -P
If you want to know more check this link out.