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

This commit is contained in:
Steve Rowe 2018-05-17 17:32:41 -04:00
parent 7bb3e5c248
commit 9cbaf327e8
1 changed files with 3 additions and 2 deletions

View File

@ -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