Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

peeking feature not works with pry 0.14.1 on ruby 3.0.0 #122

Open
zw963 opened this issue Jul 26, 2021 · 0 comments
Open

peeking feature not works with pry 0.14.1 on ruby 3.0.0 #122

zw963 opened this issue Jul 26, 2021 · 0 comments

Comments

@zw963
Copy link

zw963 commented Jul 26, 2021

Following is backtrace.

 ╰─ $ bundle exec puma
Puma starting in single mode...
* Puma version: 5.3.2 (ruby 3.0.0-p0) ("Sweetnighter")
*  Min threads: 1
*  Max threads: 1
*  Environment: development
*          PID: 261585
* Listening on http://0.0.0.0:9393
Use Ctrl-C to stop
^\Preparing to peek via pry!
/home/zw963/.rvm/gems/ruby-3.0.0@marketbet_crawler/gems/pry-0.14.1/lib/pry/ring.rb:76:in `synchronize': can't be called from trap context (ThreadError)
        from /home/zw963/.rvm/gems/ruby-3.0.0@marketbet_crawler/gems/pry-0.14.1/lib/pry/ring.rb:76:in `clear'
        from /home/zw963/.rvm/gems/ruby-3.0.0@marketbet_crawler/gems/pry-0.14.1/lib/pry/ring.rb:36:in `initialize'
        from /home/zw963/.rvm/gems/ruby-3.0.0@marketbet_crawler/gems/pry-0.14.1/lib/pry/pry_instance.rb:89:in `new'
        from /home/zw963/.rvm/gems/ruby-3.0.0@marketbet_crawler/gems/pry-0.14.1/lib/pry/pry_instance.rb:89:in `initialize'
        from /home/zw963/.rvm/gems/ruby-3.0.0@marketbet_crawler/gems/pry-0.14.1/lib/pry/repl.rb:15:in `new'
        from /home/zw963/.rvm/gems/ruby-3.0.0@marketbet_crawler/gems/pry-0.14.1/lib/pry/repl.rb:15:in `start'
        from /home/zw963/.rvm/gems/ruby-3.0.0@marketbet_crawler/gems/pry-0.14.1/lib/pry/pry_class.rb:188:in `start'
        from /home/zw963/.rvm/gems/ruby-3.0.0@marketbet_crawler/gems/pry-0.14.1/lib/pry/core_extensions.rb:45:in `pry'
        from /home/zw963/.rvm/gems/ruby-3.0.0@marketbet_crawler/gems/pry-rescue-1.5.2/lib/pry-rescue/peek.rb:15:in `peek!'
        from /home/zw963/.rvm/gems/ruby-3.0.0@marketbet_crawler/gems/puma-5.3.2/lib/puma/single.rb:61:in `join'
        from /home/zw963/.rvm/gems/ruby-3.0.0@marketbet_crawler/gems/puma-5.3.2/lib/puma/single.rb:61:in `run'
        from /home/zw963/.rvm/gems/ruby-3.0.0@marketbet_crawler/gems/puma-5.3.2/lib/puma/launcher.rb:181:in `run'
        from /home/zw963/.rvm/gems/ruby-3.0.0@marketbet_crawler/gems/puma-5.3.2/lib/puma/cli.rb:80:in `run'
        from /home/zw963/.rvm/gems/ruby-3.0.0@marketbet_crawler/gems/puma-5.3.2/bin/puma:10:in `<top (required)>'
        from /home/zw963/.rvm/gems/ruby-3.0.0@marketbet_crawler/bin/puma:23:in `load'
        from /home/zw963/.rvm/gems/ruby-3.0.0@marketbet_crawler/bin/puma:23:in `<main>'
        from /home/zw963/.rvm/gems/ruby-3.0.0@marketbet_crawler/bin/ruby_executable_hooks:22:in `eval'
        from /home/zw963/.rvm/gems/ruby-3.0.0@marketbet_crawler/bin/ruby_executable_hooks:22:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant