Skip to content

Commit cd4b7a9

Browse files
alfredxingDirtyF
authored andcommitted
Update Travis config and Gemfile for Ruby < 2.2.2 support
1 parent 2882119 commit cd4b7a9

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ script : script/cibuild
33
sudo: false
44

55
rvm:
6-
- 2.2
7-
- 2.1
8-
- 2.0
6+
- 2.3.1
7+
- 2.2.5
8+
- 2.1.9
99
env:
1010
- ""
11-
- JEKYLL_VERSION=3.0.0
11+
- JEKYLL_VERSION=3.0
1212
- JEKYLL_VERSION=2.0
1313
matrix:
1414
include:

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ if ENV["GH_PAGES"]
66
elsif ENV["JEKYLL_VERSION"]
77
gem "jekyll", "~> #{ENV["JEKYLL_VERSION"]}"
88
end
9+
10+
# Support for Ruby < 2.2.2 & activesupport
11+
gem "activesupport", "~> 4.2" if RUBY_VERSION < '2.2.2'

0 commit comments

Comments
 (0)