diff --git a/lib/vagrant.rb b/lib/vagrant.rb index 28ce5a741..a5b13e11c 100644 --- a/lib/vagrant.rb +++ b/lib/vagrant.rb @@ -7,7 +7,7 @@ module Vagrant # The source root is the path to the root directory of # the Vagrant gem. def source_root - File.expand_path('../../', __FILE__) + @source_root ||= File.expand_path('../../', __FILE__) end end end