diff --git a/resources/puppetlabs/lein-ezbake/template/global/ext/fpm.rb b/resources/puppetlabs/lein-ezbake/template/global/ext/fpm.rb index 1ee15479..ebf9c812 100755 --- a/resources/puppetlabs/lein-ezbake/template/global/ext/fpm.rb +++ b/resources/puppetlabs/lein-ezbake/template/global/ext/fpm.rb @@ -468,8 +468,8 @@ def patch_files(options) patch_files(options) do # fpm sends all output to stdout - out, _, stat = Open3.capture3("#{fpm_editor} fpm #{fpm_opts.join(' ')}") - fail "Error trying to run FPM for #{options.dist}!\n#{out}" unless stat.success? + out, err, stat = Open3.capture3("#{fpm_editor} fpm #{fpm_opts.join(' ')}") + fail "Error trying to run FPM for #{options.dist}!\n stderr: #{err}\n stdout: #{out}\n" unless stat.success? puts "#{out}" @@ -482,8 +482,8 @@ def patch_files(options) end # fpm sends all output to stdout - out, _, stat = Open3.capture3("fpm #{termini_opts.join(' ')}") - fail "Error trying to run FPM for the termini for #{options.dist}!\n#{out}" unless stat.success? + out, err, stat = Open3.capture3("fpm #{termini_opts.join(' ')}") + fail "Error trying to run FPM for the termini for #{options.dist}!\n stderr: #{err}\n stdout: #{out}\n" unless stat.success? puts "#{out}" end end diff --git a/src/puppetlabs/ezbake/core.clj b/src/puppetlabs/ezbake/core.clj index 7a91507b..5f9ed467 100644 --- a/src/puppetlabs/ezbake/core.clj +++ b/src/puppetlabs/ezbake/core.clj @@ -994,7 +994,7 @@ Additional uberjar dependencies: (defmethod action "local-build" [_ lein-project build-target] (action "stage" lein-project build-target) - (exec/exec "bundle" "install" "--path" ".bundle/gems" "--binstubs" ".bundle/bin" :dir staging-dir) + ;; (exec/exec "bundle" "install" "--path" ".bundle/gems" "--binstubs" ".bundle/bin" :dir staging-dir) (let [downstream-job nil rake-call ["bundle" "exec" "rake" "pl:local_build"]] (exec/lazy-sh rake-call {:dir staging-dir})))