From: "Stéphane Wirtel" Date: 2007-06-15T01:15:14+09:00 Subject: Re: call a task of a namespace from an other task. Ok, I found a solution but I don't know if it's a good solution. I put the namespace :release in a variable. Example: releaseNs = namespace :release do task :create do mkdir_p ReleaseDirectory end end namespace :kernel do task :compile do end task :release => [ releaseNs[:create] ] do end end What do you think of this solution ?