Skip to content

fork_trace.rbのエラー

Masaki Komagata edited this page Feb 1, 2022 · 1 revision
$ rails test
/Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/activesupport-6.1.4.4/lib/active_support/fork_tracker.rb:8: warning: Exception in finalizer #<Proc:0x000000010e99db80 /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/vcr-6.0.0/lib/vcr/library_hooks/webmock.rb:36 (lambda)>
/Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/vcr-6.0.0/lib/vcr/library_hooks/webmock.rb:36:in `block in global_hook_disabled_requests': wrong number of arguments (given 1, expected 0) (ArgumentError)
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/activesupport-6.1.4.4/lib/active_support/fork_tracker.rb:8:in `fork'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/activesupport-6.1.4.4/lib/active_support/fork_tracker.rb:8:in `fork'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/activesupport-6.1.4.4/lib/active_support/fork_tracker.rb:27:in `fork'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/activesupport-6.1.4.4/lib/active_support/fork_tracker.rb:8:in `fork'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/activesupport-6.1.4.4/lib/active_support/fork_tracker.rb:27:in `fork'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/activesupport-6.1.4.4/lib/active_support/testing/parallelization/worker.rb:15:in `start'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/activesupport-6.1.4.4/lib/active_support/testing/parallelization.rb:37:in `block in start'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/activesupport-6.1.4.4/lib/active_support/testing/parallelization.rb:36:in `times'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/activesupport-6.1.4.4/lib/active_support/testing/parallelization.rb:36:in `each'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/activesupport-6.1.4.4/lib/active_support/testing/parallelization.rb:36:in `map'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/activesupport-6.1.4.4/lib/active_support/testing/parallelization.rb:36:in `start'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:143:in `run'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest.rb:73:in `block in autorun'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/activesupport-6.1.4.4/lib/active_support/fork_tracker.rb:8:in `fork'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/activesupport-6.1.4.4/lib/active_support/fork_tracker.rb:8:in `fork'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/activesupport-6.1.4.4/lib/active_support/fork_tracker.rb:27:in `fork'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/activesupport-6.1.4.4/lib/active_support/fork_tracker.rb:8:in `fork'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/activesupport-6.1.4.4/lib/active_support/fork_tracker.rb:27:in `fork'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/spring-2.1.1/lib/spring/application.rb:180:in `serve'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/spring-2.1.1/lib/spring/application.rb:145:in `block in run'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/spring-2.1.1/lib/spring/application.rb:139:in `loop'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/spring-2.1.1/lib/spring/application.rb:139:in `run'
        from /Users/komagata/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/spring-2.1.1/lib/spring/application/boot.rb:19:in `<top (required)>'
        from <internal:/Users/komagata/.rbenv/versions/3.1.0/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from <internal:/Users/komagata/.rbenv/versions/3.1.0/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from -e:1:in `<main>'
Clone this wiki locally