From 551014eb05f0c3eed3c8196b6d1e04e7ae433679 Mon Sep 17 00:00:00 2001 From: Frank Taillandier Date: Wed, 8 May 2019 13:04:04 +0200 Subject: [PATCH] Docs: Invite to use bundler Fix #7651 --- docs/_docs/step-by-step/01-setup.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/_docs/step-by-step/01-setup.md b/docs/_docs/step-by-step/01-setup.md index 520bc608..e6a7dae1 100644 --- a/docs/_docs/step-by-step/01-setup.md +++ b/docs/_docs/step-by-step/01-setup.md @@ -22,6 +22,23 @@ terminal: gem install jekyll bundler ``` +To create a new `Gemfile` to list your project's dependencies run: + +``` +bundle init +``` + +Now edit the `Gemfile`and add jekyll as a dependency: + +``` +gem "jekyll" +``` + +Finally run `bundle` to install jekyll for your project. + +You can now prefix all jekyll commands listed in this tutorial with `bundle exec` +to make sure you use the jekyll version defined in your `Gemfile`. + ## Create a site It's time to create a site! Create a new directory for your site, you can name