summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Davis <ryand-ruby@zenspider.com>2022-07-09 12:55:02 -0800
committerRyan Davis <ryand-ruby@zenspider.com>2022-07-09 12:55:02 -0800
commitfff339553fe9e3bc036fea4ac32e8bcd6c310eec (patch)
treed11dc6804854773b70320bebd7ad8b2ab8874fd1
parentbdd1bd65e297c844e6744a743039664878e255bb (diff)
downloadhoe-fff339553fe9e3bc036fea4ac32e8bcd6c310eec.tar.gz
- Use sh instead of system during gem install to raise on error.
[git-p4: depot-paths = "//src/hoe/dev/": change = 13489]
-rw-r--r--lib/hoe/package.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/hoe/package.rb b/lib/hoe/package.rb
index 1c33fd8..c57f889 100644
--- a/lib/hoe/package.rb
+++ b/lib/hoe/package.rb
@@ -100,8 +100,7 @@ module Hoe::Package
cmd += " --no-document" unless rdoc
cmd += " #{null_dev}" unless Rake.application.options.trace
- puts cmd if Rake.application.options.trace
- result = system cmd
+ result = sh cmd
Gem::Specification.reset
result
end