DocOps / liquidoc-gem

The canonical gem source for LiquiDoc, a ruby-based documentation parsing and rendering utility enabling advanced builds with Asciidoctor, Jekyll, Liquid, and semi-structured data files.
https://docs.docops.org/liquidoc-user-manual.html
MIT License
12 stars 5 forks source link

Using execute action in GitBash causes scripts to run in wrong context #74

Open briandominick opened 5 years ago

briandominick commented 5 years ago

The problem occurs when running a shell script from ruby inside a GitBash terminal (the recommended Windows Bash emulator provided by Git). When running it in the ruby console (which is what the gem does), the call to the script fails.

This is seemingly fixed by prepending sh to commands. Investigate the difference, and if it makes sense, implement the solution by fixing the sh prefix to all commands.