New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ruby 3.1 compatibility (Psych 4 breaking change) #47
Comments
Hello @saboter, We don't seem to use the |
Hello @MichaelHoste, this is the exception thrown by rake translation:sync with backtrace:
|
I have used different exception thrown by other gem (yet caused by analogical problem) in the initial description. |
Don't worry, I found the real issue here: https://stackoverflow.com/a/71192990/1243212
That was fixed in Rails like this for the locales: https://github.com/ruby-i18n/i18n/pull/569/files And like this for the configuration file: rails/rails@179d0a1 We'll release something similar as soon as possible, thank you for the warning 🙂 |
It should be fixed on the If it works, we'll quickly release a new version. |
It works. Thank you. |
Version 1.31 is released with this fix. Thank you for alerting us to this problem, it is appreciated. |
Hello,
rake translation:sync rake task fails with: Psych::BadAlias: Unknown alias: male_first_name under Ruby 3.1.1.
YAML::load calls across sources need to be updated.
Example adjustment (if you want to support older and newer Psych with same gem version):
Thank you.
The text was updated successfully, but these errors were encountered: