From 7ebba940b22d05fba58fecc66a1c83cdffda48f5 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Sun, 22 Feb 2015 17:12:38 +0100 Subject: [PATCH] Fix Gemfile according to http://jekyllrb.com/docs/github-pages/. --- Gemfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 3ed6559..6aa25d8 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,10 @@ source 'https://rubygems.org' -gem 'github-pages', '>=33' + +require 'json' +require 'open-uri' +versions = JSON.parse(open('https://pages.github.com/versions.json').read) + +gem 'github-pages', versions['github-pages'] + gem 'jemoji' gem 'jekyll-sitemap'