summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel E. Giddins <segiddins@segiddins.me>2015-05-02 11:56:17 -0700
committerSamuel E. Giddins <segiddins@segiddins.me>2015-05-02 11:56:17 -0700
commite9e897f1f661963599f65a93c55bd0a1d8fe1fa7 (patch)
treeaf0353c1780d8f52a569b2b21ab6085341a33874
parentd386ed1b342711fb3d307a7ca640cafc64b3be85 (diff)
downloadbundler-seg-error-report-command.tar.gz
[ErrorReport] Print the command that was runseg-error-report-command
-rw-r--r--lib/bundler/friendly_errors.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler/friendly_errors.rb b/lib/bundler/friendly_errors.rb
index 2f24fc179e..0267a4b61e 100644
--- a/lib/bundler/friendly_errors.rb
+++ b/lib/bundler/friendly_errors.rb
@@ -45,6 +45,10 @@ module Bundler
def self.request_issue_report_for(e)
Bundler.ui.info <<-EOS.gsub(/^ {6}/, '')
#{'――― ERROR REPORT TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――'}
+ Command
+
+ #{$PROGRAM_NAME} #{ARGV.join(' ')}
+
- What did you do?
- What did you expect to happen?
- What happened instead?