[Ironruby-core] Error when running Cucumber examples with IronRuby

Chamini Gallage lists at ruby-forum.com
Wed Apr 1 23:12:22 EDT 2009


Hi,

I got the new ironruby source from 
http://github.com/ironruby/ironruby/tree/master and built it by Visual 
Studio 2008 (with 11 successful, 0 failed and 1 skipped)and tried the 
examples. Still I'm getting a simillar kind of error.

C:\ruby\lib\ruby\gems\1.8\gems\cucumber-0.2.3\examples\i18n\en>icucumber 
features
*** THIS RUBY IMPLEMENTATION DOESN'T REPORT FILE AND LINE FOR PROCS ***
*** WARNING: You must "gem install win32console" (1.2.0 or higher) to 
get coloured output on MRI/Windows
(eval):220:in `_nt_keyword_space': unexpected break (LocalJumpError)
        from :0:in `loop'
        from (eval):211:in `_nt_keyword_space'
        from feature.rb:900:in `_nt_step'
        from feature.rb:848:in `_nt_steps'
        from :0:in `loop'
        from feature.rb:839:in `_nt_steps'
        from feature.rb:763:in `_nt_scenario_outline'
        from feature.rb:96:in `_nt_feature'
        from :0:in `loop'
        from feature.rb:71:in `_nt_feature'
        from :0:in `send'
        from compiled_parser.rb:15:in `parse'
        from treetop_ext.rb:39:in `parse_or_fail'
        from treetop_ext.rb:28:in `parse_file'
        from 
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\IoOps.cs:161:in 
`InvokeOpenBlock'
        from treetop_ext.rb:19:in `parse_file'
        from main.rb:54:in `load_plain_text_features'
        from :0:in `each'
        from main.rb:49:in `load_plain_text_features'
        from main.rb:30:in `execute!'
        from main.rb:19:in `execute'
        from cucumber:0
        from :0:in `load'
        from cucumber:0

I tried the same procedure after rake compiling the source as well, but 
got the same error.

Ruby, IronRuby and Cucumber seems to be working fine when tested alone. 
Any help will be very much appreciated.

Thanx in advance :)
-- 
Posted via http://www.ruby-forum.com/.


More information about the Ironruby-core mailing list