1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-10 01:17:40 +03:00

M #-: Fix rhel7 multipart-post and ruby comp. ()

With multipart-post 2.2.0+:
irb(main):002:0> require 'net/http/post/multipart'
NoMethodError: undefined method `deprecate_constant' for Object:Class
This commit is contained in:
Jan Orel 2022-10-21 14:23:44 +02:00 committed by GitHub
parent 39ea4624f9
commit e6826c823a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions
share/install_gems

View File

@ -89,7 +89,7 @@ GEM
faraday (>= 0.9, < 2.0.0)
faraday-cookie_jar (~> 0.0.6)
ms_rest (~> 0.7.6)
multipart-post (2.2.0)
multipart-post (2.1.1)
mysql2 (0.5.4)
net-ldap (0.17.1)
nokogiri (1.6.8.1)
@ -170,6 +170,7 @@ DEPENDENCIES
json (>= 2.0)
memcache-client
minitest (< 5.12.0)
multipart-post (~> 2.1.0)
mysql2
net-ldap
nokogiri (< 1.7)

View File

@ -61,6 +61,10 @@ if ruby_version < Gem::Version.new('2.3.0')
rq = '< 1.0.0'
end
if ruby_version <= Gem::Version.new('2.0.0')
gem 'multipart-post', '~> 2.1.0'
end
gem 'ffi-rzmq', '~> 2.0.7'
gem 'net-ldap'
gem 'nokogiri', nokogiri