mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-29 18:50:08 +03:00
M #-: Add require 'active_support' (#2738)
Without the require, commands with --json or --yaml flags fails for ActiveSupport version 7.0+ (cherry picked from commit e427a29a14fc06c73501a4fff0571e60ff3ad0ba)
This commit is contained in:
parent
438d534aef
commit
1694d5681b
@ -1263,6 +1263,7 @@ EOT
|
||||
#
|
||||
# @return [Hash] XSD in hash format, nil if not found
|
||||
def read_xsd(ename)
|
||||
require 'active_support'
|
||||
require 'active_support/core_ext/hash/conversions'
|
||||
|
||||
# Try GEM directory
|
||||
|
Loading…
x
Reference in New Issue
Block a user