This ripl plugin automatically starts the debugger whenever an evaled input throws an exception. The debugger is started at the source of the exception.
Gabriel Horner
gem "ripl-debug", "~> 0.2.0"