mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Support different rexml location for older vagrant (#1526)
Attempt fallback to loading rexml from rexml/rexml which is the path used by older vagrant releases.
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'log4r'
|
||||
|
||||
begin
|
||||
require 'rexml'
|
||||
rescue LoadError
|
||||
require 'rexml/rexml'
|
||||
end
|
||||
|
||||
require 'vagrant-libvirt/util/resolvers'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user