mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
(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:
parent
b16a2e6e96
commit
cecf8c5c79
1 changed files with 3 additions and 0 deletions
3
Gemfile
3
Gemfile
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue