shiplane
shiplane copied to clipboard
bundle exec cap staging shiplane bombs with Psych >= 4
Precheck
- Do a quick search through the Github Issues track to determine if your bug might already be submitted
Environment
- Ubuntu 20.04
- Ruby [3.0.6]
- Shiplane [0.2.28]
Current behavior
If the Psych gem is version 4 or above, bundle exec cap staging shiplane results in
Psych::AliasesNotEnabled: Alias parsing was not enabled. To enable it, pass aliases: true
to Psych::load
or Psych::safe_load
.
Expected behavior
shiplane succeeds.
If line 142 of lib/shiplane/build.rb is changed to @docker_config ||= YAML.load(File.new(docker_compose_filepath), aliases: true) that overcomes the error.
If line 142 of lib/shiplane/build.rb is changed to @docker_config ||= YAML.load(File.new(docker_compose_filepath), aliases: true) that overcomes the error.