mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
M #-: Add require 'active_support' (#2738)
Without the require, commands with --json or --yaml flags fails for ActiveSupport version 7.0+
This commit is contained in:
parent
4bcb6f7089
commit
e427a29a14
@ -1352,6 +1352,7 @@ Bash symbols must be escaped on STDIN passing'
|
||||
#
|
||||
# @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