I suggest you to use this if you have lots of tasks in the namespace.
task :my_tasks do Rake.application.in_namespace(:my_tasks){|namespace| namespace.tasks.each{|t| t.(&:invoke})} end And then you can run all tasks in the namespace by:
rake my_tasks With this, you don't need to worry to change your :all task when you add new tasks into that namespace.