From: "Marc H." Date: 2011-12-07T17:46:54+09:00 Subject: Rake question Hi, I have a general question regarding rake: Say I have a list of files (based on file extension), that all need to be processed in the same way. The output of this processing is required by a downstream task. How do I run this in rake? My approach was: my_files.each do |file| target_file = '#{file}.transformed' file target_file => file do # transform here end task :transform => target_file end next_file = 'transformed_files.txt' file next_file => :transform do # Do something with all transformed files to produce 1 output file end And this fails, complaining that it does not know how to build :transform Is this a syntactic issue? The workflow above correctly iterates over the input files, creates transformed files and then complains that it doesn't know how to build :transform. I am at a loss... Any 'better' ways of doing this? -- Posted via http://www.ruby-forum.com/.