Skip to content

undefined method `start_without_pry_byebug' for Pry::Shell::Repl:Class (NoMethodError) #19

Description

@imanpalsingh

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions