From e399087dc128cb5e008eb644fc934b8a4c8a6f76 Mon Sep 17 00:00:00 2001 From: Glenn Sarti Date: Fri, 12 May 2017 15:09:27 -0700 Subject: [PATCH] (maint) Pin rack to 1.x Rack was updated recently and 2.x requires ruby 2.2 or above. As VMPooler should work in older jruby, we need to be Ruby 1.9.3 compatible. This commit pins the rack gem to 1.x. --- Gemfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index e9b838b..550b983 100644 --- a/Gemfile +++ b/Gemfile @@ -7,7 +7,9 @@ else end gem 'puma', '>= 3.6.0' -gem 'rack', '>= 1.6' +# Rack 2.x requires ruby 2.2 or above. +# As VMPooler should work in older jruby, we need to be Ruby 1.9.3 compatible. +gem 'rack', '~> 1.6' gem 'rake', '>= 10.4' gem 'rbvmomi', '>= 1.8' gem 'redis', '>= 3.2'