From 512deac3a640c2d8fee25bdcff7a9dcf9d17f8e1 Mon Sep 17 00:00:00 2001 From: Ashwin Maroli Date: Sun, 25 Dec 2016 10:09:23 +0530 Subject: [PATCH] use compatible versions of gems - json: "~>2.0" # https://github.com/flori/json/issues/303#issuecomment-259426660 - pygments.rb: "~>1.1" --- Gemfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Gemfile b/Gemfile index fa254dff81bc..01f6d996bc1f 100644 --- a/Gemfile +++ b/Gemfile @@ -3,6 +3,11 @@ gemspec :name => "jekyll" gem "rake", "~> 12.0" +if RUBY_VERSION >= '2.4' + gem "json", "~> 2.0" + gem "pygments.rb", "~> 1.1" +end + # Dependency of jekyll-mentions. RubyGems in Ruby 2.1 doesn't shield us from this. gem "activesupport", "~> 4.2", :groups => [:test_legacy, :site] if RUBY_VERSION < "2.2.2"