Can’t convert Syck::DomainType into String

I just tried to set up a new environment for a rails site I’m working on and I was getting this error when trying to migrate the database. can’t convert Syck::DomainType into String I couldn’t find that error on google at all, but it turns out the password I was using had both a hash...