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. (#2315)
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:
parent
39ea4624f9
commit
e6826c823a
share/install_gems
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user