lib/landrush.rb in landrush-1.0.0 vs lib/landrush.rb in landrush-1.1.0.beta.1

- old
+ new

@@ -2,14 +2,19 @@ require 'vagrant' rescue LoadError raise 'The Vagrant landrush plugin must be run within Vagrant.' end +# Only load the gem on Windows since it replaces some methods in Ruby's Process class +# Also load before Process.uid is called the first time by Vagrant +require 'win32/process' if Vagrant::Util::Platform.windows? + require 'rubydns' -require 'ipaddr' require 'landrush/dependent_vms' require 'landrush/plugin' require 'landrush/resolver_config' +require 'landrush/win_network_config' require 'landrush/server' require 'landrush/store' require 'landrush/version' +require 'landrush-ip'