From cecf8c5c79f25dcf92428e4a3326498189807fdf Mon Sep 17 00:00:00 2001 From: Glenn Sarti Date: Tue, 18 Jul 2017 14:31:01 -0700 Subject: [PATCH] (maint) Pin nokogiri on legacy ruby Due to native extensions not working for JRuby on Windows easily, sometimes very old versions of MRI Ruby are needed for debugging (1.9.3). This commit pins nokogiri to a version which is compatible with ruby 1.9.x. It is expected this is only required for debugging in edge cases. vmpooler should still be run on modern ruby versions in production. --- Gemfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Gemfile b/Gemfile index 26f420f..aa427e5 100644 --- a/Gemfile +++ b/Gemfile @@ -12,6 +12,9 @@ gem 'puma', '>= 3.6.0' gem 'rack', '~> 1.6' gem 'rake', '>= 10.4' gem 'rbvmomi', '>= 1.8' +if RUBY_VERSION =~ /^1\.9\./ + gem 'nokogiri', '< 1.7.0' +end gem 'redis', '>= 3.2' gem 'sinatra', '>= 1.4' gem 'net-ldap', '<= 0.12.1' # keep compatibility w/ jruby & mri-1.9.3