lib/clusterfuck/machine.rb in vagrant-clusterfuck-0.0.2 vs lib/clusterfuck/machine.rb in vagrant-clusterfuck-0.0.3

- old
+ new

@@ -62,9 +62,10 @@ path = File.expand_path("../../../templates/routes.sh.erb", __FILE__) result = ERB.new(File.read(path)).result(binding) temp = Tempfile.new("routes") ObjectSpace.undefine_finalizer(temp) # finalizer removes it, nthx temp.write(result) + temp.flush temp.path end class PortFactory @port = 28344