Skip to content

Commit a31928c

Browse files
committed
Simplify to Bundler.clean_system.
1 parent 5e2e169 commit a31928c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Rakefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ def run_command(command, opts={})
2323
FileUtils.cd(path) do
2424
puts "#{'='*3} #{dir} #{'='*(40 - dir.length)}"
2525
begin
26-
Bundler.with_clean_env do
27-
ENV['NOEXEC_DISABLE'] = "1" # prevent rubygems-bundler from interfering
28-
sh command
29-
end
26+
Bundler.clean_system(command)
3027
rescue Exception => e
3128
puts e.backtrace
3229
end

0 commit comments

Comments
 (0)