gem 'debugger'
bundle update
use debugger with the error
https://github.com/cldwalker/debugger/issues/116
try pry
add pry-nav
https://github.com/nixme/pry-nav
try pry-byebug pry-stack_explorer,and they works well:)
https://github.com/deivid-rodriguez/pry-byebug
https://github.com/pry/pry-stack_explorer