Skip to content

Commit 4fef632

Browse files
dschogitster
authored andcommitted
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 <[email protected]> [Danh: reword commit message] Signed-off-by: Đoàn Trần Công Danh <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 61432dd commit 4fef632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/install-dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Documentation)
7070
sudo apt-get -q -y install asciidoc xmlto docbook-xsl-ns make
7171

7272
test -n "$ALREADY_HAVE_ASCIIDOCTOR" ||
73-
gem install --version 1.5.8 asciidoctor
73+
sudo gem install --version 1.5.8 asciidoctor
7474
;;
7575
linux-gcc-4.8|GETTEXT_POISON)
7676
sudo apt-get -q update

0 commit comments

Comments
 (0)