[rspec-users] Intermittent Cucumber exception

Joseph Wilk josephwilk at joesniff.co.uk
Wed Dec 3 11:19:00 EST 2008


Ashley Moran wrote:
> On 3 Dec 2008, at 15:55, Ashley Moran wrote:
>>  Scenario: new story appears on 
>> feed                                   # 
>> features/descriptions/story_notification.feature:12
>> /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/cucumber/broadcaster.rb:15:in 
>> `write': Bad file descriptor (Errno::EBADF)
>>     from 
>> /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/cucumber:6
>> rake aborted!
>
>
> I captured it with --trace too, it's started happening more often...
>
>     from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/cucumber:6
> rake aborted!
> Command failed with status (1): [/opt/local/bin/ruby -I 
> "/opt/local/lib/rub...]
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:971:in `sh'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:984:in `call'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:984:in `sh'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1072:in `sh'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1007:in `ruby'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1072:in `ruby'
> /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/lib/cucumber/rake/task.rb:34:in 
> `define_task'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `call'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `execute'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `execute'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in 
> `invoke_with_call_chain'
> /opt/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in 
> `invoke_with_call_chain'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:in `invoke'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in 
> `invoke_task'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in 
> `top_level'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `each'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in 
> `top_level'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in 
> `standard_exception_handling'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in 
> `top_level'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in `run'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in 
> `standard_exception_handling'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run'
> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31
> /opt/local/bin/rake:19:in `load'
> /opt/local/bin/rake:19
>
>
>
Can you share the arguments in the relevant Cucumber rake task?

Thanks,
--
Joseph Wilk
http://blog.josephwilk.net


More information about the rspec-users mailing list