lib/sprout/executable/base.rb in sprout-1.1.14.pre vs lib/sprout/executable/base.rb in sprout-1.1.15.pre
- old
+ new
@@ -286,10 +286,10 @@
# behavior with multiple registrations.
handle_library_prerequisites outer_task.prerequisites
# Add the library resolution rake task
# as a prerequisite
- outer_task.prerequisites << task(Sprout::Library::TASK_NAME)
+ outer_task.prerequisites << Rake::Task.define_task(Sprout::Library::TASK_NAME)
prerequisites.each do |prereq|
outer_task.prerequisites << prereq
end
outer_task
end