summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2021-10-12 01:54:26 -0600
committerDan Allen <dan.j.allen@gmail.com>2021-10-12 01:54:26 -0600
commitfa180c19d54a456a378f05063fc3baa6f646c111 (patch)
tree490905f0a0ede5023516d2ce11e18c5b3ddaf9ff /docs
parent3a9fdf878ce1b997d5b09d718e6685f130db53a6 (diff)
clarify the behavior of the --pre option for gem install
Diffstat (limited to 'docs')
-rw-r--r--docs/modules/install/pages/ruby-packaging.adoc7
1 files changed, 5 insertions, 2 deletions
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)