Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

run_hook_filtered': undefined method run_all' for []:Array (ruby 1.9.2-head) #248

@sent-hil

Description

@sent-hil

Using ruby 1.9.2-head with rvm, rails 3.0.1. The error also occurs in rails 3.0.3, and with every version of rspec-rails I've tried: 2.3.0, 2.1.0, 2.0.1, 2.0.0. Doesn't happen in ruby-1.9.2-preview3 or ruby-1.8.7-p249, so I'm guessing its specific to ruby 1.9.2-head. I'm running Ubuntu 10.10. Is rspec not supported in ruby 1.9.2-head, going to try different versions of ruby, will keep posted.

UPDATE: It works fine under ruby-1.9.2-p0 and I'll be using that instead of ruby 1.9.2-head, but leaving this issue open nevertheless.

/home/senthil/.rvm/gems/ruby-1.9.2-head/gems/rspec-core-2.0.1/lib/rspec/core/hooks.rb:116:in `run_hook_filtered': undefined method `run_all' for []:Array (NoMethodError)
from /home/senthil/.rvm/gems/ruby-1.9.2-head/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:213:in `eval_after_alls'
from /home/senthil/.rvm/gems/ruby-1.9.2-head/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:236:in `run'
from /home/senthil/.rvm/gems/ruby-1.9.2-head/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block (2 levels) in run'
from /home/senthil/.rvm/gems/ruby-1.9.2-head/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `map'
from /home/senthil/.rvm/gems/ruby-1.9.2-head/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in `block in run'
from /home/senthil/.rvm/gems/ruby-1.9.2-head/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
from /home/senthil/.rvm/gems/ruby-1.9.2-head/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in `run'
from /home/senthil/.rvm/gems/ruby-1.9.2-head/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
from /home/senthil/.rvm/gems/ruby-1.9.2-head/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
from /home/senthil/.rvm/gems/ruby-1.9.2-head/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10:in `block in autorun' 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions