[Rake-devel] :needs example

Steven Parkes smparkes at smparkes.net
Mon Sep 22 19:27:48 EDT 2008

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|

More information about the Rake-devel mailing list