class Object

Public Instance Methods

fix_vagrant_prefix(flags) click to toggle source

When installing the SDK as a plugin in Vagrant there is an issue with some versions of Vagrant that embed “libxml2” and “libcurl”, but using an incorrect directory. To avoid that we need to explicitly fix the Vagrant path.

# File ext/ovirtsdk4c/extconf.rb, line 47
def fix_vagrant_prefix(flags)
  flags.gsub!('/vagrant-substrate/staging', '/opt/vagrant')
end