Top Level Namespace

Defined Under Namespace

Modules: OvirtSDK4

Instance Method Summary collapse

Instance Method Details

#fix_vagrant_prefix(flags) ⇒ Object

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.



47
48
49
# File 'ext/ovirtsdk4c/extconf.rb', line 47

def fix_vagrant_prefix(flags)
  flags.gsub!('/vagrant-substrate/staging', '/opt/vagrant')
end