Can’t escape from eval with next using Pry-rails
Please make sure to install the ‘pry-nav’ gem. I had the same error because I made the assumption that navigation commands were included into the ‘pry-rails’ gem. Add gem ‘pry-nav’ in your Gemfile, then run bundle install.