Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This is a <a href="https://github.com/errbit/errbit/pull/449" rel="nofollow">known issue</a> in Errbit caused by a change in Airbrake after 3.1.8.</p> <p>A <a href="https://github.com/errbit/errbit/commit/bd2e7802f9eddb0a2fca70c7db1ba5e995317d80" rel="nofollow">fix</a> was committed to an <a href="https://github.com/errbit/errbit/tree/bd2e7802f9eddb0a2fca70c7db1ba5e995317d80" rel="nofollow">unnamed branch</a> of Errbit 7 days ago (as of this writing). </p> <p>Reinstall Errbit from the unnamed branch, or implement the changes manually. Or wait until the fix makes its way to the Errbit trunk, then upgrade per instructions in the Errbit readme.</p> <p>Alternately, you can downgrade to an older version of Airbrake. Version 3.1.8 <a href="https://github.com/airbrake/airbrake/blob/v3.1.8/lib/airbrake/backtrace.rb#L18" rel="nofollow">does not contain</a> the breaking changes. I verified this by installing Airbrake 3.1.8 on my machine and inspecting the files. Put this in your Gemfile, then run <code>bundle install</code>:</p> <pre><code>gem "airbrake", "3.1.8" </code></pre> <hr> <h3>Edit:</h3> <p>Since you are verifiably using a compatible version of Airbrake, look at Errbit.</p> <p>In the current Errbit trunk, <code>BacktraceLine#method=</code> (<a href="https://github.com/errbit/errbit/blob/master/app/models/backtrace_line.rb#L9" rel="nofollow">source</a>) is an interface provided by Mongoid. An undefined method error means Mongoid is not providing the method at runtime. You may have an initialization or configuration issue with Mongoid in your test environment. </p> <h3>Edit 2:</h3> <p>Turns out this error is caused by Errbit being installed <strong>without Mongoid</strong>, which Errbit requires.</p> <p>Errbit overrides the Airbrake notifier gem with hooks back to Errbit, thus <em>using Airbrake will inadvertently invoke Errbit</em>. Without Mongoid, Errbit will fail. </p> <p>Two solutions are available:</p> <ul> <li>Completely remove <a href="https://github.com/errbit/errbit" rel="nofollow">Errbit's files</a> from the application.</li> </ul> <p>or...</p> <ul> <li>Fully implement Errbit and use it.</li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload