livingsocial / rake-pipeline

An extension to Rake for dealing with a directory of inputs, a number of filters, and a directory of outputs
MIT License
276 stars 38 forks source link

Circular Dependency Error #128

Closed joefiorini closed 11 years ago

joefiorini commented 11 years ago

I'm getting a circular dependency error invoke_call_chain where:

tmp/tmp-1/A => original/A => tmp/tmp-2/A => tmp/tmp-1/A

It makes sense that tmp/tmp-2/A would depend on tmp/tmp-1/A, as that's part of the filter chain, but why would the original file depend on a tmp file? My filter's additional_dependencies method returns [] and there are no dynamic prereqs. Are there any cases where this is expected to happen?

Thanks! Joe

joefiorini commented 11 years ago

Well, apparently this is what happens when you accidentally set the output path to the same as the original input path. Ooops.