Docs: Invite to use bundler

Fix #7651
This commit is contained in:
Frank Taillandier 2019-05-08 13:04:04 +02:00 提交者 GitHub
父節點 dc265abf9f
當前提交 551014eb05
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 17 行新增0 行删除

查看文件

@ -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