From 459a51f9b889e958bd2d15d23b0afd55374d66f9 Mon Sep 17 00:00:00 2001 From: Benjamin Fleischer Date: Sun, 12 Mar 2017 15:09:28 -0500 Subject: [PATCH] Nokogiri 1.7 removes support for Rubies < 2.1 See https://github.com/sparklemotion/nokogiri/commit/84870381847cb83b6a530f5eef2460026ade49f6 --- Gemfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Gemfile b/Gemfile index cbd8ddd1..e55e2bfe 100644 --- a/Gemfile +++ b/Gemfile @@ -28,6 +28,10 @@ if RUBY_VERSION < '2' gem 'mime-types', [ '>= 2.6.2', '< 3' ] end +if RUBY_VERSION < '2.1' + gem 'nokogiri', '< 1.7' +end + # https://github.com/bundler/bundler/blob/89a8778c19269561926cea172acdcda241d26d23/lib/bundler/dependency.rb#L30-L54 @windows_platforms = [:mswin, :mingw, :x64_mingw]