From fa180c19d54a456a378f05063fc3baa6f646c111 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Tue, 12 Oct 2021 01:54:26 -0600 Subject: clarify the behavior of the --pre option for gem install --- docs/modules/install/pages/ruby-packaging.adoc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'docs/modules/install') diff --git a/docs/modules/install/pages/ruby-packaging.adoc b/docs/modules/install/pages/ruby-packaging.adoc index c4a8c288..cfe63ea1 100644 --- a/docs/modules/install/pages/ruby-packaging.adoc +++ b/docs/modules/install/pages/ruby-packaging.adoc @@ -14,12 +14,15 @@ Once you've installed Ruby using RVM, and you have activated it using `rvm use { include::partial$success.adoc[] [#pre-release] -=== Install a pre-release version +=== Install a prerelease version -To install a pre-release version of Asciidoctor (e.g., a release candidate), open a terminal and type: +To install a prerelease version of Asciidoctor (e.g., a release candidate), include the `--pre` option when running the `gem install` command: $ gem install asciidoctor --pre +The `--pre` option will select the prerelease version of Asciidoctor instead of the latest stable version. +Note that it's possible that the prerelease version is older than the latest stable version if no recent prerelease version is available. + == Bundler . Create a Gemfile in the root folder of your project (or the current directory) -- cgit v1.2.3