Skip to content
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

Alias error with Ruby 3.1.1 #86

Open
federicopolesello opened this issue Feb 10, 2023 · 0 comments
Open

Alias error with Ruby 3.1.1 #86

federicopolesello opened this issue Feb 10, 2023 · 0 comments

Comments

@federicopolesello
Copy link

federicopolesello commented Feb 10, 2023

Hi guys,
I'm trying to add a variable in the YAML file in order to reuse it in some points in the same file.

code:
  org:
    service-one:
      version: *version
      generators:
        dart_2_17_json:
          target: source

Running the command apibuilder update --path .apibuilder.yml it works running it on a macOS with ruby version 2.6.10 but it doesn't work running it on a macOS with ruby version 3.1.1.

/Users/federico/.rbenv/versions/3.1.1/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:430:in `visit_Psych_Nodes_Alias': Unknown alias: version (Psych::BadAlias)

Searching I found this possible issue but I'm not sure.
https://stackoverflow.com/questions/71191685/visit-psych-nodes-alias-unknown-alias-default-psychbadalias

Do you have any idea how I can solve it keeping the latest ruby version?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant