Added installation instructions for 2 of the 3 options for plugins.

Fixes #4013.
This commit is contained in:
Anton 2015-10-11 14:35:52 -07:00 committed by Parker Moore
parent 9b091f8d5d
commit 3eb25217ce
1 changed files with 8 additions and 0 deletions

View File

@ -31,15 +31,23 @@ Jekyll generates your site.
2. In your `_config.yml` file, add a new array with the key `gems` and the 2. In your `_config.yml` file, add a new array with the key `gems` and the
values of the gem names of the plugins you'd like to use. An example: values of the gem names of the plugins you'd like to use. An example:
gems: [jekyll-test-plugin, jekyll-jsonify, jekyll-assets] gems: [jekyll-test-plugin, jekyll-jsonify, jekyll-assets]
# This will require each of these gems automatically. # This will require each of these gems automatically.
Then install your plugins using `gem install jekyll-test-plugin jekyll-jsonify jekyll-assets`
3. Add the relevant plugins to a Bundler group in your `Gemfile`. An 3. Add the relevant plugins to a Bundler group in your `Gemfile`. An
example: example:
group :jekyll_plugins do group :jekyll_plugins do
gem "my-jekyll-plugin" gem "my-jekyll-plugin"
gem "another-jekyll-plugin"
end end
Now you need to install all plugins from your Bundler group by running single command `bundle install`
<div class="note info"> <div class="note info">
<h5> <h5>
<code>_plugins</code>, <code>_config.yml</code> and <code>Gemfile</code> <code>_plugins</code>, <code>_config.yml</code> and <code>Gemfile</code>