When we tried to get ascii_binder into Fedora, we get this far with asciidoctor-diagram.
But we rather avoided the dependency in ascii_binder for the time being:
Vít
Hello,
I've upgrade to F33 and discovered that we are missing asciidoctor-diagram as a requirement for some internal tooling.
I am putting together a spec file for this now however tests are failing with missing executables in the path. I am able to work around some by installing the package but the majority we don't appear to ship packages for - see example below.
Again, I'm sure this is something obvious (hopefully) and would appreciate a steer in the right direction. I've attempted to pass various options to rspec but to no avail.
Thanks for any advice in advance.
425) Asciidoctor::Diagram::WavedromBlockProcessor should support scaling diagrams
Failure/Error: raise "Could not find the #{cmd_names.map { |c| "'#{c}'" }.join(', ')} executable in PATH; add it to the PATH or specify its location using the '#{attr_names[0]}' document attribute"
RuntimeError:
asciidoctor: FAILED: <stdin>: Failed to load AsciiDoc document - Could not find the 'WaveDromEditor' executable in PATH; add it to the PATH or specify its location using the 'WaveDromEditor' document attribute
Shared Example Group: "block" called from ./spec/wavedrom_spec.rb:16
# ./lib/asciidoctor-diagram/diagram_source.rb:130:in `find_command'
# ./lib/asciidoctor-diagram/wavedrom/converter.rb:39:in `convert'
# ./lib/asciidoctor-diagram/diagram_processor.rb:170:in `create_image_block'
# ./lib/asciidoctor-diagram/diagram_processor.rb:86:in `process'
# /usr/share/gems/gems/asciidoctor-2.0.10/lib/asciidoctor/parser.rb:1040:in `[]'
# /usr/share/gems/gems/asciidoctor-2.0.10/lib/asciidoctor/parser.rb:1040:in `build_block'
# /usr/share/gems/gems/asciidoctor-2.0.10/lib/asciidoctor/parser.rb:886:in `next_block'
# /usr/share/gems/gems/asciidoctor-2.0.10/lib/asciidoctor/parser.rb:379:in `next_section'
# /usr/share/gems/gems/asciidoctor-2.0.10/lib/asciidoctor/parser.rb:364:in `next_section'
# /usr/share/gems/gems/asciidoctor-2.0.10/lib/asciidoctor/parser.rb:97:in `parse'
# /usr/share/gems/gems/asciidoctor-2.0.10/lib/asciidoctor/document.rb:549:in `parse'
# /usr/share/gems/gems/asciidoctor-2.0.10/lib/asciidoctor/load.rb:83:in `load'
# ./spec/test_helper.rb:70:in `load_asciidoc'
# ./spec/shared_examples.rb:592:in `block (2 levels) in <top (required)>'
# ./spec/test_helper.rb:112:in `block (3 levels) in <top (required)>'
# ./spec/test_helper.rb:111:in `chdir'
# ./spec/test_helper.rb:111:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# RuntimeError:
# Could not find the 'WaveDromEditor' executable in PATH; add it to the PATH or specify its location using the 'WaveDromEditor' document attribute
# ./lib/asciidoctor-diagram/diagram_source.rb:130:in `find_command'
--
Christopher Brown
_______________________________________________ ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org To unsubscribe send an email to ruby-sig-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org