Posted 4 months ago. Visible to the public.

Fix REPL of better_errors page

The gem better_errors Archive offers a detailed error page with an interactive REPL Archive for better debugging.
I had the issue that on a few projects with Ruby 2.5.8, the REPL was not shown.


To make the REPL work properly with this Ruby version I had to update the gem binding_of_caller Archive to at least version 0.8.0.

From the better_errors Archive docs:

binding_of_caller is optional, but is necessary to use Better Errors' advanced features (REPL, local/instance variable inspection, pretty stack frame names).

Your development team has a full backlog of feature requests, chores and refactoring coupled with deadlines? We are familiar with that. With our "DevOps as a Service" offering, we support developer teams with infrastructure and operations expertise.

Owner of this card:

Johanna Hartmann
Last edit:
4 months ago
by Johanna Hartmann
Broken_REPL.png, Fixed_REPL.png
irb, console
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Johanna Hartmann to makandra dev
This website uses short-lived cookies to improve usability.
Accept or learn more