From ff2c7fdaf21ef82923bc2bcbc7f145f8b3038466 Mon Sep 17 00:00:00 2001 From: Alfred Xing Date: Wed, 24 Aug 2016 11:30:44 -0700 Subject: [PATCH] Update Travis config and Gemfile for Ruby < 2.2.2 support --- .travis.yml | 8 ++++---- Gemfile | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 69b5cdb..9843a34 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,12 +3,12 @@ script : script/cibuild sudo: false rvm: - - 2.2 - - 2.1 - - 2.0 + - 2.3.1 + - 2.2.5 + - 2.1.9 env: - "" - - JEKYLL_VERSION=3.0.0 + - JEKYLL_VERSION=3.0 - JEKYLL_VERSION=2.0 matrix: include: diff --git a/Gemfile b/Gemfile index 4296d7f..3c03798 100644 --- a/Gemfile +++ b/Gemfile @@ -6,3 +6,6 @@ if ENV["GH_PAGES"] elsif ENV["JEKYLL_VERSION"] gem "jekyll", "~> #{ENV["JEKYLL_VERSION"]}" end + +# Support for Ruby < 2.2.2 & activesupport +gem "activesupport", "~> 4.2" if RUBY_VERSION < '2.2.2'