From e1091ce15c265dae7e43987fd2bc38e3fb0e44d8 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Sat, 14 Jan 2017 12:02:12 +0900 Subject: [PATCH] rack 2 requires Ruby version >= 2.2.2 so we need to switch rack versions in our Gemfile, in order for the CI to cover older rubies --- Gemfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Gemfile b/Gemfile index 2fc94e1..d1172e4 100644 --- a/Gemfile +++ b/Gemfile @@ -2,6 +2,8 @@ source 'https://rubygems.org' gemspec +gem 'rack', RUBY_VERSION < '2.2.2' ? '~> 1.6' : '>= 2.0' + platforms :rbx do gem 'rubysl', '~> 2.0' end