First uninstall 'asciidoctor' gem before installing it, to remove unwanted versions

This commit is contained in:
Steve Rowe 2018-07-05 14:58:10 -04:00
parent 039dae76cb
commit 6c0a03c578
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ 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 uninstall asciidoctor" # Get rid of all versions
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"