ci: run gem with sudo to install asciidoctor
commit4fef6321a5eb14b3a9be0b323b7f7a81fcd3ebf7
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 10 Apr 2020 17:18:08 +0000 (11 00:18 +0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Apr 2020 17:30:40 +0000 (10 10:30 -0700)
tree49f86e325416e442a75b3e360294bbe628d60fcf
parent61432dd630e3f1711a44be2da2923ae071f96784
ci: run gem with sudo to install asciidoctor

In a later patch, we will run Documentation job in GitHub Actions.
The job will run without elevated permission.

Run `gem` with `sudo` to elevate permission in order to be able to
install to system location.
This will also keep this installation in-line with other installation in
our Linux system for CI.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
[Danh: reword commit message]
Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ci/install-dependencies.sh