Registry / testing / better-errors

better-errors

JSON →
library2.10.1rbrubygemsunverified

Provides a better error page for Rails and other Rack apps, including source code inspection, a live REPL, and local/instance variable inspection for all stack frames.

gem install better_errors
INSTALL
IMPORT
SIG · BETTER-ERRORS
B
better-errors
testingrubyv2.10.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BetterErrors
require 'better_errors'

Enable Better Errors middleware in a Rack application.

require 'better_errors' # In a Rack app, use the middleware: use BetterErrors::Middleware # Then visit the app and trigger an error to see the enhanced page.
Debug
Known issues
breakingBetter Errors should not be used in production; it exposes sensitive information.
fix
Only include the gem in development and test groups in your Gemfile.
affects: >= 0
Upgrade
Version history
2.10.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
OpenAI (training)
1
Resources
better-errors — gem install better-errors · libregistry