Rake::Task#clear
を使う。
require "bundler/gem_tasks"
Rake::Task[:release].clear
実行結果
$ rake -T
rake build # Build rack-castanet-0.0.4.gem into the pkg directory.
rake install # Build and install rack-castanet-0.0.4.gem into system gems.
# rake release は消えてる