ruby-on-railsrubyprypry-rails

NoMethodError in pry-stack_explorer when using rails console


I am using pry for rails console.

Whenever I evaluate some value in console, NoMethodError is raised in bindings_equal?, that is a method of pry-stack_explorer gem. The input and output is as follows.

That is not harmful but a nuisance. I want to remove it.

Can anyone help?

> bundle exec rails console

Loading development environment (Rails 4.1.5)

Frame number: 0/21
[1] pry(main)> 
[2] pry(main)> 
[3] pry(main)> 1
when_started hook failed: NoMethodError: private method `eval' called for nil:NilClass
{My Bundle Directory}/ruby/2.1.0/gems/pry-stack_explorer-0.4.9.1/lib/pry-stack_explorer.rb:109:in `bindings_equal?'
(see _pry_.hooks.errors to debug)
=> 1
[4] pry(main)> 

I use these gems relating to pry:

gem 'pry-rails'
gem 'pry-remote'
gem 'pry-byebug'

Thank you.


Solution

  • I'm not running the same gems as you, but have run across the same error.

    I started an issue on the github project