Kristian Mandrup
2011-Jan-02 11:42 UTC
[rspec-users] undefined method `run_all'' for []:Array
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''
David Chelimsky
2011-Jan-02 18:32 UTC
[rspec-users] undefined method `run_all'' for []:Array
On Sun, Jan 2, 2011 at 5:42 AM, Kristian Mandrup <kmandrup at gmail.com> wrote:> 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?Better is to wait to upgrade to the next version of rspec that fixes the bug: https://github.com/rspec/rspec-core/issues/closed#issue/258 To be released as part of rspec-core-2.4 within the next day or so. Cheers, David> > 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'' > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
David Chelimsky wrote in post #971870:> On Sun, Jan 2, 2011 at 5:42 AM, Kristian Mandrup <kmandrup at gmail.com> > wrote: >> 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? > > Better is to wait to upgrade to the next version of rspec that fixes the > bug: > > https://github.com/rspec/rspec-core/issues/closed#issue/258 > > To be released as part of rspec-core-2.4 within the next day or so. > > Cheers, > DavidI guess this isn''t fixed? I''m having the same error, and the version of rspec that installs is 2.0.1 Unless I''m missing something obvious? -- Posted via http://www.ruby-forum.com/.
Andy Lindeman
2013-Feb-07 13:22 UTC
[rspec-users] undefined method `run_all'' for []:Array
Yes. It should be fixed. If you upgrade and still get the error, let us know! On Thursday, February 7, 2013, Doug Livesey wrote:> David Chelimsky wrote in post #971870: > > On Sun, Jan 2, 2011 at 5:42 AM, Kristian Mandrup <kmandrup at gmail.com<javascript:;> > > > > wrote: > >> 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? > > > > Better is to wait to upgrade to the next version of rspec that fixes the > > bug: > > > > https://github.com/rspec/rspec-core/issues/closed#issue/258 > > > > To be released as part of rspec-core-2.4 within the next day or so. > > > > Cheers, > > David > > I guess this isn''t fixed? I''m having the same error, and the version of > rspec that installs is 2.0.1 > Unless I''m missing something obvious? > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org <javascript:;> > http://rubyforge.org/mailman/listinfo/rspec-users >-- Sent from a mobile device. Please excuse the brevity and top reply. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20130207/5cb5249f/attachment-0001.html>
Possibly Parallel Threads
- Can't get gem bundler to work with either rvm 1.9.1 and 1.9.2
- Rails 3 Problem: no such file to load -- rails (LoadError)
- Puppet 3.0 rspec and custom resources
- CRITICAL: Rails 3 error : parser.bundle unhandled exception!!!
- Rails problems running rake and other tasks - undefined method `action_controller'