My gemfile looks like this
group :development, :test do
gem 'pry-byebug'
gem 'pry-shell'
end
In the rails console I get
3.1.4 :003 > binding.pry_shell
.rvm/gems/ruby-3.1.4@app/gems/pry-shell-0.6.4/lib/pry/shell/patches/pry_byebug.rb:51:in `start_new_pry_session': undefined method `start_without_pry_byebug' for Pry::Shell::Repl:Class (NoMethodError)
@pry = Pry::Shell::Repl.start_without_pry_byebug(repl_options)
^^^^^^^^^^^^^^^^^^^^^^^^^
Did you mean? start_with_pry_byebug
3.1.4 :004 >
and
3.1.4 :002 > binding.pry_shell(with_byebug: false)
.rvm/gems/ruby-3.1.4@app/gems/pry-shell-0.6.4/lib/pry/shell/patches/pry_byebug.rb:74:in `start_with_pry_shell': undefined method `start_without_pry_byebug' for Pry::Shell::Repl:Class (NoMethodError)
start_without_pry_byebug(options)
^^^^^^^^^^^^^^^^^^^^^^^^
Did you mean? start_with_pry_byebug
ruby '3.1.4'
rails '7.0.4.3'
My gemfile looks like this
In the rails console I get
and
ruby '3.1.4'
rails '7.0.4.3'