tests/recipes_test fails when ran with rake 0.9.2 with the following error:
ArgumentError: defining a task named `symlink' would shadow an existing method with that name
This is because rake 0.9.2 has a method called symlink which causes all_methods to wrongly suggest that capistrano already has a task defined called symlink.
In practise this doesn't effect the way that capistrano works because it is ran as a standalone command line app and never mixes methods with other libraries, but it's not ideal.
The following patch simply locks the development dependency of rake to 0.8.7 which sorts the problem for the moment and will get travis-ci working again.
Fixed development dependency of rake to 0.8.7, a test fails on 0.9.2
@sunaku are you using the --pre gem?
Not according to my Gemfile.lock:
net-scp (>= 1.0.0)
net-sftp (>= 2.0.0)
net-ssh (>= 2.0.14)
net-ssh-gateway (>= 1.1.0)
As hinted in my workaround in #140, Rake::DeprecatedObjectDSL causes the conflict.
Try the --pre gem. That is 2.10.0.pre, pushed to Rubygems December 12, 2011
(and, read the release notes, they're important)
💡 I see what you mean now. Any pointer to the release notes? There's no 2.10.0 entry in the CHANGELOG file and no similarly named Git branch and googling "capistrano release notes" brings up old 2009 results from rubyforge. Thanks.