diff options
author | Ryan Davis <ryand-ruby@zenspider.com> | 2022-07-09 12:55:02 -0800 |
---|---|---|
committer | Ryan Davis <ryand-ruby@zenspider.com> | 2022-07-09 12:55:02 -0800 |
commit | fff339553fe9e3bc036fea4ac32e8bcd6c310eec (patch) | |
tree | d11dc6804854773b70320bebd7ad8b2ab8874fd1 | |
parent | bdd1bd65e297c844e6744a743039664878e255bb (diff) | |
download | hoe-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.rb | 3 |
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 |