<div>&nbsp;</div>
<div>Since this is now in trunk this feedback is of academic interest only.</div>
<div>&nbsp;</div>
<div>&quot;what's OCI?&quot;&nbsp;&nbsp; One Click Installer. The de-facto standard distribution of</div>
<div>ruby for Windows. Apologies for throwing in an undefined TLA - I thought</div>
<div>it was commonplace.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&quot;&nbsp;The failing_examples are supposed to fail and the rake script is<br>supposed to account for it and continue. However, this is a little<br>tricky and no effort has been put in to make this work on windows.&nbsp;&quot;
</div>
<div>&nbsp;</div>
<div>Setting FAIL_ON_ERROR false in the spec task for the failing examples</div>
<div>allows rake to continue and generate the .gem</div>
<div>&nbsp;</div>
<div>desc &quot;Run all failing examples&quot;<br>Spec::Rake::SpecTask.new('failing_examples') do |t|<br>&nbsp; t.spec_files = FileList['failing_examples/**/*_spec.rb']<br>&nbsp; t.fail_on_error = false&nbsp;&nbsp;&nbsp;&nbsp; #&nbsp; DJR <br>end<br>&nbsp;</div>

<div>&nbsp;</div>
<div>&quot;&nbsp;&nbsp;What exact command are you running and what errors do you see? (Run<br>Rake with -v -t) &quot;<br>&nbsp;</div>
<div>Literal answer is &quot;rake gem&quot;, just as you asked!&nbsp; Sensible answer is that the</div>
<div>output from rake -v -t gem is probably more verbose than a mailing list wants.</div>
<div>I'll mail it privately if it might be of any value.</div>
<div>&nbsp;</div>
<div>Some highlights are:</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>
<p>** Execute test<br>C:/OneClickRuby/ruby/lib/ruby/gems/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/hunk.rb:<br>69: warning: method redefined; discarding old flag_context=<br>./test/spec/expectations/sugar_test.rb:41: warning: method redefined; discarding
<br>&nbsp;old test_should_allow_underscored_anys_on_mocks<br>./test/spec/runner/../../test_helper.rb:16: warning: method redefined; discardin<br>g old verify_sexp_equal<br>./test/spec/runner/../../test_helper.rb:22: warning: method redefined; discardin
<br>g old my_pp<br>./test/spec/runner/formatter/../../../test_helper.rb:16: warning: method redefin<br>ed; discarding old verify_sexp_equal<br>./test/spec/runner/formatter/../../../test_helper.rb:22: warning: method redefin
<br>ed; discarding old my_pp<br>./test/spec/mocks/../../test_helper.rb:16: warning: method redefined; discarding<br>&nbsp;old verify_sexp_equal<br>./test/spec/mocks/../../test_helper.rb:22: warning: method redefined; discarding
<br>&nbsp;old my_pp<br>./test/spec/mocks/mock_test.rb:7: warning: method redefined; discarding old setu<br>p<br>Loaded suite C:/OneClickRuby/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rak<br>e_test_loader<br>Started<br>(eval):2: warning: method redefined; discarding old message
<br>(eval):2: warning: method redefined; discarding old random_call<br>(eval):2: warning: method redefined; discarding old random_call<br>(eval):2: warning: method redefined; discarding old spec_failed<br>................................................................................
<br>................................................................................<br>................................................................................<br>................................................................................
<br>...................<br>Finished in 0.375 seconds.</p>
<p>339 tests, 323 assertions, 0 failures, 0 errors<br>C:/OneClickRuby/ruby/bin/ruby -I&quot;G:/RubyPackages/rSpec_repository/branches/modul<br>arized/lib&quot; &quot;G:/RubyPackages/rSpec_repository/branches/modularized/bin/spec&quot;&nbsp; &quot;f
<br>ailing_examples/empty_stack_spec.rb&quot; &quot;failing_examples/stack_spec.rb&quot; &quot;failing_e<br>xamples/team_spec.rb&quot; &quot;failing_examples/big_string_spec.rb&quot; &quot;failing_examples/mo<br>cking_spec.rb&quot; &quot;failing_examples/spec_framework_spec.rb&quot; &quot;failing_examples/airpo
<br>rt_spec.rb&quot;<br>** Invoke doc (first_time, not_needed)<br>** Invoke lib (first_time, not_needed)<br>** Invoke failing_examples (first_time)<br>** Execute failing_examples</p>
<p>...FF.....F......FF.F.FFFF...F</p>
<p>1)<br>NoMethodError in 'A stack with one item should return top when sent top'<br>undefined method `top_should_be' for #&lt;Stack:0x2c437ac @items=[3]&gt;<br>G:/RubyPackages/rSpec_repository/branches/modularized/lib/spec/expectations/suga
<br>C:/OneClickRuby/ruby/bin/ruby -I&quot;G:/RubyPackages/rSpec_repository/branches/modul<br>arized/lib&quot; &quot;G:/RubyPackages/rSpec_repository/branches/modularized/bin/spec&quot;&nbsp; &quot;e<br>xamples/stack_spec.rb&quot; &quot;examples/bdd_framework_spec.rb&quot; &quot;examples/io_processor_s
<br>pec.rb&quot; &quot;examples/mocking_spec.rb&quot; &quot;examples/custom_method_spec.rb&quot; &quot;examples/te<br>st_case_spec.rb&quot; &quot;examples/airport_spec.rb&quot; &quot;examples/file_accessor_spec.rb&quot; &quot;ex
<br>amples/sugar_spec.rb&quot;<br>r.rb:16:in `call'<br>G:/RubyPackages/rSpec_repository/branches/modularized/lib/spec/expectations/suga<br>r.rb:16:in `_method_missing'<br>G:/RubyPackages/rSpec_repository/branches/modularized/lib/spec/expectations/suga
<br>r.rb:12:in `method_missing'<br>./failing_examples/stack_spec.rb:16:in `should return top when sent top'<br></p>
<p>[ other detailed failures suppressed...&nbsp; DJR ]</p>
<p>&nbsp;</p>
<p>11)<br>Spec::Expectations::ExpectationNotMetError in 'Airport at home should not need e<br>lectricity'<br>Airport #&lt;Airport:0x2c2eb04&gt; should not need electricity<br>G:/RubyPackages/rSpec_repository/branches/modularized/lib/spec/expectations/help
<br>er/should_base.rb:27:in `fail_with_message'<br>G:/RubyPackages/rSpec_repository/branches/modularized/lib/spec/expectations/help<br>er/should_negator.rb:66:in `method_missing'<br>G:/RubyPackages/rSpec_repository/branches/modularized/lib/spec/expectations/suga
<br>r.rb:27:in `__send__'<br>G:/RubyPackages/rSpec_repository/branches/modularized/lib/spec/expectations/suga<br>r.rb:27:in `_method_missing'<br>G:/RubyPackages/rSpec_repository/branches/modularized/lib/spec/expectations/suga
<br>r.rb:12:in `method_missing'<br>./failing_examples/airport_spec.rb:28:in `should not need electricity'</p>
<p>Finished in 0.031 seconds</p>
<p>30 specifications, 11 failures</p>
<p>&nbsp;</p>
<p>Let me know if you want any more input on this. I'll checkout trunk before I try again.</p>
<p>&nbsp;</p>
<p>DeeJay</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>