New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSpec 2.6 fails under MacRuby; 2.5 is OK #461

Closed
sjmadsen opened this Issue Sep 23, 2011 · 3 comments

Comments

Projects
None yet
3 participants
@sjmadsen

sjmadsen commented Sep 23, 2011

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'
@ferrous26

This comment has been minimized.

Show comment
Hide comment
@ferrous26

ferrous26 Feb 13, 2012

I'm successfully using RSpec 2.8 with MacRuby 0.12 (nightly builds).

ferrous26 commented Feb 13, 2012

I'm successfully using RSpec 2.8 with MacRuby 0.12 (nightly builds).

@dchelimsky

This comment has been minimized.

Show comment
Hide comment
@dchelimsky

dchelimsky Feb 13, 2012

Member

Closing this as it appears fixed in the next MacRuby release.

Member

dchelimsky commented Feb 13, 2012

Closing this as it appears fixed in the next MacRuby release.

@dchelimsky dchelimsky closed this Feb 13, 2012

@dchelimsky

This comment has been minimized.

Show comment
Hide comment
@dchelimsky

dchelimsky Feb 13, 2012

Member

@ferrous26 thanks for the heads up that it's working.

Member

dchelimsky commented Feb 13, 2012

@ferrous26 thanks for the heads up that it's working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment