On Sep 22, 2008, at 7:27 PM, Steven Parkes wrote:

The rakefile.rdoc says that when passing prereqs to a task with params you have to use a :needs key, but the example doesn't seem to actually have it.

I believe
  task :name, [:first_name, :last_name] => [:pre_name] do |t, args|
should be
task :name, [:first_name, :last_name], :needs => [:pre_name] do | t, args|

Rake was updated to not need the :needs parameter. I must have missed a spot in the documentation. Sorry.

--
-- Jim Weirich
-- [EMAIL PROTECTED]

_______________________________________________
Rake-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rake-devel

Reply via email to