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 (#1493)
Attempt fallback to loading rexml from rexml/rexml which is the path used by older vagrant releases. Fixes #1483
This commit is contained in:
parent
e4122f480a
commit
9cda25a384
@ -1,7 +1,12 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'log4r'
|
||||
require 'rexml'
|
||||
|
||||
begin
|
||||
require 'rexml'
|
||||
rescue LoadError
|
||||
require 'rexml/rexml'
|
||||
end
|
||||
|
||||
module VagrantPlugins
|
||||
module ProviderLibvirt
|
||||
|
Loading…
Reference in New Issue
Block a user