summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}'