I have a rails app hosted on Heroku. For some reason, the app crashed and running rails console into the heroku console gives this error although the app is not multilingual, so no use of I18n at all.
Do you have any idea what is wrong?
1: from /app/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.10/lib/i18n/backend/base.rb:241:in `load_yml'
/app/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.10/lib/i18n/backend/base.rb:245:in `rescue in load_yml': can not load translations from /app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.3.2/lib/active_support/locale/en.yml: #<NoMethodError: undefined method `unsafe_load' for Psych:Module (I18n::InvalidLocaleData)
I don't get such an error on localhost, only on Heroku.