diff --git a/site/_docs/github-pages.md b/site/_docs/github-pages.md index b8bf4d33..b448d510 100644 --- a/site/_docs/github-pages.md +++ b/site/_docs/github-pages.md @@ -12,6 +12,32 @@ organizations, and repositories, that are freely hosted on GitHub's powered by Jekyll behind the scenes, so in addition to supporting regular HTML content, they’re also a great way to host your Jekyll-powered website for free. + +
github-pages
gem
+ Our friends at GitHub have provided the
+ github-pages
+ gem which is used to manage Jekyll and its dependencies on
+ GitHub Pages. To use the currently-deployed version of the
+ gem in your project, add the following to your `Gemfile`:
+
+ {% highlight ruby %}
+ source 'https://rubygems.org'
+
+ require 'json'
+ require 'open-uri'
+ versions = JSON.parse(open('https://pages.github.com/versions.json').read)
+
+
+ gem 'github-pages', versions['github-pages']
+ {% endhighlight %}
+
+ This will ensure that when you run bundle install
, you
+ have the correct version of the github-pages
gem.
+