Dne 06. 05. 20 v 12:15 Dan Allen napsal(a):


@Vit Ondruch - if you have any idea on why it can't find the binary path, that would be good, am I missing a requires on itself or some such?


That would be a better question to ask me, given I wrote the test suite ;)

Yes, the CLI tests use an extremely stripped down shell environment to make sure we aren't faked out by behavior introduced by inherited environment variables.


The `Gem.bin_path` is the problem here:

https://github.com/asciidoctor/asciidoctor-pdf/commit/5d5d1c993e63802295ea3bfabb4e1e374bd4b65d


Vít


I can provide a way to loosen this restriction when running the tests in the packaging environment, or you can skip the CLI tests:

rspec -t ~cli

Best Regards,

-Dan
 
--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux