From 1d9f3763aabc842d50cc2a88c77b216c5be77c64 Mon Sep 17 00:00:00 2001 From: Andre Arko Date: Mon, 4 May 2015 23:25:54 -0700 Subject: tmpdir used to be a stdlib --- spec/install/gems/sudo_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/install/gems/sudo_spec.rb b/spec/install/gems/sudo_spec.rb index aa06584f..3e833960 100644 --- a/spec/install/gems/sudo_spec.rb +++ b/spec/install/gems/sudo_spec.rb @@ -111,6 +111,7 @@ describe "when using sudo", :sudo => true do end it "cleans up the tmpdirs generated" do + require 'tmpdir' Dir.glob("#{Dir.tmpdir}/bundler*").each do |tmpdir| FileUtils.remove_entry_secure(tmpdir) end -- cgit v1.2.3