summaryrefslogtreecommitdiff
path: root/docs/modules
diff options
context:
space:
mode:
authorD. Laing <144132462+djl101@users.noreply.github.com>2023-09-27 10:35:03 +0100
committerDan Allen <dan.j.allen@gmail.com>2023-09-27 03:37:39 -0600
commit880f043f4543da2d57c9834190192fff2ec97572 (patch)
tree4f0389045073e4ca6d1799c1daf346e077b69f05 /docs/modules
parenta4ea9505aaf3e3a82137d1f232a84768a4bb7f48 (diff)
add bundle init command on installation page (PR #4485)
Diffstat (limited to 'docs/modules')
-rw-r--r--docs/modules/install/pages/ruby-packaging.adoc8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/modules/install/pages/ruby-packaging.adoc b/docs/modules/install/pages/ruby-packaging.adoc
index 171dfaf4..76102325 100644
--- a/docs/modules/install/pages/ruby-packaging.adoc
+++ b/docs/modules/install/pages/ruby-packaging.adoc
@@ -40,12 +40,14 @@ Note that it's possible that the prerelease version is older than the latest sta
== Bundler
-. Create a Gemfile in the root folder of your project (or the current directory)
-. Add the `asciidoctor` gem to your Gemfile as follows:
+. Create a Gemfile in the root folder of your project (or the current directory):
+
+ $ bundle init
+
+. Add the `asciidoctor` gem to the bottom of your Gemfile as follows:
+
[,ruby,subs=attributes+]
----
-source 'https://rubygems.org'
gem 'asciidoctor'
# or specify the version explicitly
# gem 'asciidoctor', '{release-version}'