Pry - BetterErrors/better_errors GitHub Wiki
Better Errors supports Pry within the REPL. Currently this is an experimental feature, and needs to be explicitly enabled.
Place this in an initializer, for example config/environments/development.rb in Rails:
BetterErrors.use_pry!
Known issues
pry-stack_explorer does not work.