From 7e8302a4010c84a344aa1afd1124aa42195f1d49 Mon Sep 17 00:00:00 2001 From: Yusuke Nakamura Date: Fri, 6 Jan 2017 22:44:01 +0900 Subject: [PATCH] Install rack 1.6 if ruby version is lower than 2.2.2 --- Gemfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Gemfile b/Gemfile index 3b0b9684..bff224bf 100644 --- a/Gemfile +++ b/Gemfile @@ -5,6 +5,9 @@ gemspec gem 'rake' group :test do + if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.2.2") + gem "rack", "~> 1.6" + end gem 'rspec', '~> 3.2' gem 'rack-test' gem 'simplecov'