[Rake-devel] Status of Rake for Windows?

Luis Lavena luislavena at gmail.com
Fri Dec 12 08:18:59 EST 2008


On Fri, Dec 12, 2008 at 2:06 AM, James M. Lawrence
<quixoticsycophant at gmail.com> wrote:
> On Sun, Nov 23, 2008 at 12:15 AM, Jim Weirich <jim.weirich at gmail.com> wrote:
>> I'm wanting to get a new release of rake out soon.  IIRC, there were some
>> windows compatibility issues that some people on the list were evaluating.
>>  What's the status of the current code base on windows?  Is it ready to go?
>>  Does it need more tweaking.
>
> X:\rake>ruby --version
> ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
>
> X:\rake>ruby bin/rake ta
> (in X:/rake)
> RCov is not available
> mkdir -p testdata
> UNABLE TO RUN FUNCTIONAL TESTS
> No Session Found (gem install session)
> Loaded suite X:/rake/lib/rake/rake_test_loader
> Started
> ..............................................................
> ..............................................................
> ..............................................................
> ..............................................................
> .................................
> Finished in 23.123 seconds.
>
> 353 tests, 986 assertions, 0 failures, 0 errors
>
> Tested with one-click ruby186-27_rc2.exe running in a VirtualBoxed
> Windows 2000.  (I assume the functional tests don't apply to Windows
> since the session gem is filled with forks.)
>
> http://github.com/quix/rake/tree/mainline-rake
>
> Pull request sent to Jim.  I fixed a couple unrelated warnings/errors
> then dropped in my system() replacement to cover the remaining
> problems.  That skipped test is no longer being skipped.
>
> http://drake.rubyforge.org/tmp/system_spec_new.html
> http://drake.rubyforge.org/tmp/system_spec_old.html
> http://github.com/quix/system/tree/master
>
> Should Rake fix Windows problems ahead of Ruby?  Or if Rake aims to be
> a cross-platform command-line tool, while Ruby does not, then these
> aren't Ruby problems after all.  I suppose I'll post the spec to
> ruby-core.
>
> James M. Lawrence


Hey Lawrence, I'll pulling from your branch and see what happens tonight.

Very interested in your fixes.

You can run "rake test" which will run the functional ones.

The warnings you got shouldn't be happening. That's the purpose of
mocking... if it's going back to the OS, then means the mocks didn't
work at all.

Other than that, awesome job on RepairedSystem... I guess that should
be part of Ruby, not Rake. Other projects can take advantage of it.

Thank you again for following and nailing this down.
-- 
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry


More information about the Rake-devel mailing list