method

request_issue_report_for

ruby latest stable - Class: Bundler::FriendlyErrors

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

request_issue_report_for(e)
public

No documentation available.

# File lib/bundler/friendly_errors.rb, line 60
    def request_issue_report_for(e)
      Bundler.ui.info         --- ERROR REPORT TEMPLATE -------------------------------------------------------        # 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?**          I expected Bundler to...        - **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/doc/contributing/ISSUES.md?**          ...        ## Backtrace        ```        #{e.class}: #{e.message}          #{e.backtrace && e.backtrace.join("\n          ").chomp}        ```        #{Bundler::Env.report}        --- TEMPLATE END ----------------------------------------------------------------.gsub(/^ {8}/, "")

      Bundler.ui.error "Unfortunately, an unexpected error occurred, and Bundler cannot continue."

      Bundler.ui.warn         First, try this link to see if there are any existing issue reports for this error:        #{issues_url(e)}        If there aren't any reports for this error yet, please create copy and paste the report template above into a new issue. Don't forget to anonymize any private data! The new issue form is located at:        https://github.com/bundler/bundler/issues/new.gsub(/^ {8}/, "")
    end