[Rake-devel] gem task runs task instead of packaging dir when dir and task names are the same

aslak hellesoy aslak.hellesoy at gmail.com
Thu Apr 12 15:45:58 EDT 2007


How to reproduce:

1) Download and install the 1.8.6-25 version of the One Click Ruby
installer for Windows
2) Check out the RSpec core: svn co
svn://rubyforge.org/var/svn/rspec/trunk/rspec/trunk/rspec rspc
3) cd rspec
4) rake gem

Apparently, instead of packaging the examples, failing_examples and
spec directories, Rake instead decides to run the tasks by these
names. The failing_examples task fails (and is intended to fail), but
Rake shouldn't be running it in the first place - it should package
the dirs.

This behaviour has only been observed on Windows, with Ruby 1.8.6-25
and 1.8.5-something - both with Rake 1.7.2.

I'd rather not rename tasks and/or directories to work around this.

Cheers,
Aslak


More information about the Rake-devel mailing list