From 34e0c1d2d9603e68d0fe9050418e9427a1d7a2d1 Mon Sep 17 00:00:00 2001 From: Matt Brictson Date: Sun, 13 Jan 2019 17:35:55 -0800 Subject: [PATCH] Fix Travis failure for Ruby 2.0 --- Gemfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Gemfile b/Gemfile index 25377c54..15b485ac 100644 --- a/Gemfile +++ b/Gemfile @@ -25,3 +25,8 @@ end if Gem::Requirement.new("< 2.1").satisfied_by?(Gem::Version.new(RUBY_VERSION)) gem "public_suffix", "< 3.0.0" end + +# Latest versions of i18n don't support Ruby < 2.1 +if Gem::Requirement.new("< 2.1").satisfied_by?(Gem::Version.new(RUBY_VERSION)) + gem "i18n", "< 1.3.0" +end