Skip to content

Apache Lucene open-source search software

install asciidoctor gem before jekyll-asciidoc, to prevent installation of a too-new version of asciidoctor

Steve Rowe9cbaf327e8c0
diff --git a/dev-tools/scripts/jenkins.build.ref.guide.sh b/dev-tools/scripts/jenkins.build.ref.guide.sh
index 95aa892b374..ccc14876191 100755
--- a/dev-tools/scripts/jenkins.build.ref.guide.sh
+++ b/dev-tools/scripts/jenkins.build.ref.guide.sh
@@ -5,7 +5,8 @@
# under solr/solr-ref-guide: "ant clean build-site build-pdf".
#
# The following will be downloaded and installed into $HOME/.rvm/:
-# RVM, Ruby, and Ruby gems jekyll, jekyll-asciidoc, and pygments.rb.
+# RVM, Ruby, and Ruby gems jekyll, asciidoctor, jekyll-asciidoc,
+# and pygments.rb.
#
# The script expects to be run in the top-level project directory.
#
@@ -58,9 +59,9 @@ echoRun "rvm $RUBY_VERSION@$GEMSET" # Activate this project's gemset
# Install gems in the gemset. Param --force disables dependency conflict detection.
echoRun "gem install --force --version 3.5.0 jekyll"
+echoRun "gem install --force --version 1.5.6.2 asciidoctor"
echoRun "gem install --force --version 2.1.0 jekyll-asciidoc"
echoRun "gem install --force --version 1.1.2 pygments.rb"
-echoRun "gem install --force --version 1.5.6.2 asciidoctor"
cd solr/solr-ref-guide