Docs: Invite to use bundler

Fix #7651
This commit is contained in:
Frank Taillandier 2019-05-08 13:04:04 +02:00 committed by GitHub
parent dc265abf9f
commit 551014eb05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

View File

@ -22,6 +22,23 @@ terminal:
gem install jekyll bundler 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 ## Create a site
It's time to create a site! Create a new directory for your site, you can name It's time to create a site! Create a new directory for your site, you can name