Re: Pygments fails because Asciidoctor uses system gem despite brew
Posted by
mojavelinux on
Mar 11, 2019; 1:53am
URL: https://discuss.asciidoctor.org/Pygments-fails-because-Asciidoctor-uses-system-gem-despite-brew-tp6783p6793.html
On Sat, Mar 9, 2019 at 9:21 PM Syzygies [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
I have multiple machines, and I was able to trace the bug to homebrew's recipe for installing Asciidoctor.
Homebrew calls the gem command associated with the system Ruby, even if a more modern Ruby is earlier on the PATH. This then requires that one uses the full path to that gem command for Asciidoctor maintenance, such as adding Pygment support.
Clearly, one shouldn't use homebrew; just use gem, as the Asciidoctor documentation specifies.
--