We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We have an app with
When I create configuration like:
base: &base solr: hostname: 127.0.0.1 port: 8983 path: /solr/sunspot master_solr: hostname: 127.0.0.1 port: 8983 path: /solr/sunspot development: <<: *base test: <<: *base
Makes Unknown alias: base (Psych::BadAlias) stacktrace
Unknown alias: base (Psych::BadAlias)
This is because Psych 4.0.0 goes safe mode by default in Ruby 3.1. I found some fixes for similar problem in other projects:
YAML.unsafe_load
YAML.safe_load(..., aliases: true)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
We have an app with
When I create configuration like:
Makes
Unknown alias: base (Psych::BadAlias)
stacktrace
This is because Psych 4.0.0 goes safe mode by default in Ruby 3.1.
I found some fixes for similar problem in other projects:
YAML.unsafe_load
in rails Fix ruby-master test suite (Psych 4.0.0) rails/rails#42257YAML.safe_load(..., aliases: true)
in sidekiq Load aliases for Psych 4 (included in Ruby 3.1) sidekiq/sidekiq#5141The text was updated successfully, but these errors were encountered: