diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-11-30 15:48:02 -0600 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-11-30 16:19:09 -0600 |
commit | 926a79e2b376f304a5a8928385b81e5955482456 (patch) | |
tree | d971e46ac28c398cb94f60b9808666f668f5adec /lib/bundler/friendly_errors.rb | |
parent | 4d6a5cbf1ca2648896d696ab97bc366cf07c7b01 (diff) | |
download | bundler-926a79e2b376f304a5a8928385b81e5955482456.tar.gz |
[FriendlyErrors] Prettify, taking into account formatting suggestionsseg-bundle-env-markdown
Diffstat (limited to 'lib/bundler/friendly_errors.rb')
-rw-r--r-- | lib/bundler/friendly_errors.rb | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/lib/bundler/friendly_errors.rb b/lib/bundler/friendly_errors.rb index 911c08f714..3a46473448 100644 --- a/lib/bundler/friendly_errors.rb +++ b/lib/bundler/friendly_errors.rb @@ -58,18 +58,32 @@ module Bundler def request_issue_report_for(e) Bundler.ui.info <<-EOS.gsub(/^ {8}/, "") --- ERROR REPORT TEMPLATE ------------------------------------------------------- - - What did you do? + # Error Report + + ## Questions + + Please fill out answers to these questions, it'll help us figure out + why things are going wrong. + + - **What did you do?** I ran the command `#{$PROGRAM_NAME} #{ARGV.join(" ")}` - - What did you expect to happen? + - **What did you expect to happen?** I expected Bundler to... - - What happened instead? + - **What happened instead?** Instead, what happened was... + - **Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?** + + I tried... + + - **Have you read our issues document, https://github.com/bundler/bundler/blob/master/ISSUES.md?** + + ... ## Backtrace |