I'm using rails-pry
to create a breakpoint with a binding.pry
statement. This has worked just fine for just about ever. However now there's this fun new error message I'm not even sure how to being debugging the debugger:
before_session hook failed: NoMethodError: undefined method `chomp' for nil:NilClass
usr/local/bundle/gems/pry-0.12.2/lib/pry/pager.rb:116:in `block in write'
(see _pry_.hooks.errors to debug)
The result is the binding.pry
statement is ignored and the code I intent to inspect continues to run.