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.

RSpec 2.6 fails under MacRuby; 2.5 is OK #461

@sjmadsen

Description

@sjmadsen

I'm running RSpec under MacRuby 0.10. Everything works nicely with RSpec 2.5. When I update the gems to 2.6, though, I get undefined method 'empty?' for #<Enumerator:0x40093ee00> (NoMethodError) at startup and none of the examples run.

The full error backtrace follows.

/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/rspec-core-2.6.4/lib/rspec/core/world.rb:14:in `empty_without_conditional_filters?': undefined method `empty?' for #<Enumerator:0x40093ee00> (NoMethodError)
    from /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/rspec-core-2.6.4/lib/rspec/core/world.rb:131:in `announce_exclusion_filter:'
    from /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/rspec-core-2.6.4/lib/rspec/core/world.rb:103:in `announce_filters'
    from /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:19:in `run:'
    from /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:80:in `run_in_process:'
    from /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:69:in `run:'
    from /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:11:in `block'

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