(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.
This commit is contained in:
Glenn Sarti 2017-07-18 14:31:01 -07:00
parent b16a2e6e96
commit cecf8c5c79

View file

@ -12,6 +12,9 @@ gem 'puma', '>= 3.6.0'
gem 'rack', '~> 1.6' gem 'rack', '~> 1.6'
gem 'rake', '>= 10.4' gem 'rake', '>= 10.4'
gem 'rbvmomi', '>= 1.8' gem 'rbvmomi', '>= 1.8'
if RUBY_VERSION =~ /^1\.9\./
gem 'nokogiri', '< 1.7.0'
end
gem 'redis', '>= 3.2' gem 'redis', '>= 3.2'
gem 'sinatra', '>= 1.4' gem 'sinatra', '>= 1.4'
gem 'net-ldap', '<= 0.12.1' # keep compatibility w/ jruby & mri-1.9.3 gem 'net-ldap', '<= 0.12.1' # keep compatibility w/ jruby & mri-1.9.3