I’m using the latest ruby 1.9.3-head and recently whenever I run rspec
(2.2+) I get the following error:
I have seen others have run into this issue, but to resolve it just
rolled back to a previous version of rspec or it there a better way?
ruby-1.9.3-head/gems/rspec-core-2.3.1/lib/rspec/core/hooks.rb:116:in
run_hook_filtered': undefined method
run_all’ for []:Array
(NoMethodError)
from /Users/kristianconsult/.rvm/gems/ruby-1.9.3-head/gems/rspec-
core-2.3.1/lib/rspec/core/example_group.rb:215:in eval_after_alls' from /Users/kristianconsult/.rvm/gems/ruby-1.9.3-head/gems/rspec- core-2.3.1/lib/rspec/core/example_group.rb:237:in
run’
from /Users/kristianconsult/.rvm/gems/ruby-1.9.3-head/gems/rspec-
core-2.3.1/lib/rspec/core/command_line.rb:27:in block (2 levels) in run' from /Users/kristianconsult/.rvm/gems/ruby-1.9.3-head/gems/rspec- core-2.3.1/lib/rspec/core/command_line.rb:27:in
map’
from /Users/kristianconsult/.rvm/gems/ruby-1.9.3-head/gems/rspec-
core-2.3.1/lib/rspec/core/command_line.rb:27:in block in run' from /Users/kristianconsult/.rvm/gems/ruby-1.9.3-head/gems/rspec- core-2.3.1/lib/rspec/core/reporter.rb:12:in
report’
from /Users/kristianconsult/.rvm/gems/ruby-1.9.3-head/gems/rspec-
core-2.3.1/lib/rspec/core/command_line.rb:24:in run' from /Users/kristianconsult/.rvm/gems/ruby-1.9.3-head/gems/rspec- core-2.3.1/lib/rspec/core/runner.rb:55:in
run_in_process’
from /Users/kristianconsult/.rvm/gems/ruby-1.9.3-head/gems/rspec-
core-2.3.1/lib/rspec/core/runner.rb:46:in run' from /Users/kristianconsult/.rvm/gems/ruby-1.9.3-head/gems/rspec- core-2.3.1/lib/rspec/core/runner.rb:10:in
block in autorun’