BetterErrors/better_errors
Better Errors is a Ruby gem that enhances Rails error pages with an interactive debugging console and variable inspection. It provides a richer development experience by allowing users to execute code and inspect state directly from the error page. The system supports multiple editors for navigation and includes comprehensive test coverage for its components.
49.5
Weak · 2 August 2026
1.1k
lines of production code
Ruby
primary language
2
bus factor · 93 authors in all
3
measurements over time
How it got here
2012 · Error page and REPL refactoring
This period focused on a major architectural overhaul of the BetterErrors module, shifting from a class-based singleton to a modular design with dedicated components for editors, exception handling, and the interactive console. The error page was redesigned to support variable inspection and a Pry-based REPL, while the codebase was updated to use modern dependencies like Rouge and Erubi, accompanied by comprehensive test coverage.
9 changes
2013–2020 · Syntax highlighting and theme support
This period focused on modernizing the error page's code display by replacing the CodeRay library with Rouge for improved syntax highlighting. The changes introduced full-width line highlighting, copy-friendly line numbers, and support for light and dark themes, while also updating CI configurations to test against newer Rails and Ruby versions.
4 changes
Survey your own repository
BetterErrors/better_errors was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.
About this page
- The description of this project is derived from its own commit history, not from its README.
- The score is its highest published measurement, taken on 2 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit fde3b7025d — the exact code this score is about.
- Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.