I'm using Capistrano and Rake with Rails3 and rake-rails. I've narrowed the error down to happening when it gets to defining the cap task for Rake's db:fixtures:load
/mnt/cache/var/lib/gems/1.9.1/gems/capistrano-2.12.0/lib/capistrano/configuration/namespaces.rb:97:in `task': defining a task named `load' would shadow an existing method with that name (ArgumentError)
from /mnt/cache/var/lib/gems/1.9.1/gems/cape-1.4.0/lib/cape/capistrano.rb:103:in `block in implement'
The relevant Cap code is:
namespace :rakesnake do
Cape do
mirror_rake_tasks do |env|
env['RAILS_ENV'] = rails_env
end
end
end