I am on a Macbook Pro M1 and just upgraded to Sequoia. I can't get Cocoapods running. I am getting this error when just running pod --version: /opt/homebrew/Cellar/ruby/3.4.3/lib/ruby/3.4.0/psych/class_loader.rb:99:in 'Psych::ClassLoader::Restricted#find': Tried to load unspecified class: Symbol (Psych::DisallowedClass).
I have installed and reinstalled different versions of ruby. Tried different versions of brew. Nothing seems to get Cocoapods working. How can I fix this error? Gemini and Claude got me down some rabbit trails, which seemed like they will work, but everything results in that error. Any direction would be helpful. Its been hours :(. Thanks.