You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error described in issue #90 has reappeared in my bundler environment, but does not occur outside of it. I am including the exact gem versions from both cases in this report, below, for your debugging pleasure.
My current workaround is the following monkeypatch: ✨
ifdefined?Rake::DeprecatedObjectDSLRake::DeprecatedObjectDSL.module_evaldo
undef symlink
undef install# for bundler/capistranoendend
Thanks for your consideration.
observing the bug
sh-4.2$ cap --version
Capistrano v2.9.0
sh-4.2$ cap -F -T
cap deploy # Deploys your project.
cap deploy:check # Test deployment dependencies.
cap deploy:cleanup # Clean up old releases.
cap deploy:cold # Deploys and starts a `cold' application.
cap deploy:migrate # Run the migrate rake task.
cap deploy:migrations # Deploy and run pending migrations.
cap deploy:pending # Displays the commits since your last deploy.
cap deploy:pending:diff # Displays the `diff' since your last deploy.
cap deploy:restart # Blank task exists as a hook into which to install ...
cap deploy:rollback # Rolls back to a previous version and restarts.
cap deploy:rollback:code # Rolls back to the previously deployed version.
cap deploy:setup # Prepares one or more servers for deployment.
cap deploy:start # Blank task exists as a hook into which to install ...
cap deploy:stop # Blank task exists as a hook into which to install ...
cap deploy:symlink # Updates the symlink to the most recently deployed ...
cap deploy:update # Copies your project and updates the symlink.
cap deploy:update_code # Copies your project to the remote servers.
cap deploy:upload # Copy files to the currently deployed version.
cap deploy:web:disable # Present a maintenance page to visitors.
cap deploy:web:enable # Makes the application web-accessible again.
cap invoke # Invoke a single command on the remote servers.
cap shell # Begin an interactive Capistrano session.
Some tasks were not listed, either because they have no description,
or because they are only used internally by other tasks. To see all
tasks, type`cap -vT'.Extended help may be available for these tasks.Type `cap -e taskname' to view it.sh-4.2$ bundle exec cap -F -T/home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/configuration/namespaces.rb:97:in `task': defining a task named `symlink' would shadow an existing method with that name (ArgumentError)
from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/recipes/deploy.rb:271:in `block in load' from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/configuration/namespaces.rb:76:in `instance_eval' from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/configuration/namespaces.rb:76:in `namespace' from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/recipes/deploy.rb:161:in `load'
from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:93:in `instance_eval' from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:93:in `load' from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:172:in `load_from_file' from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:89:in `load'
from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:86:in `block in load' from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:86:in `each' from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:86:in `load' from Capfile:1:in `load'
from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:93:in `instance_eval' from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:93:in `load' from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:172:in `load_from_file' from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:89:in `load'
from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:86:in `block in load' from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:86:in `each' from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:86:in `load' from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/cli/execute.rb:65:in `block in load_recipes'
from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/cli/execute.rb:65:in `each' from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/cli/execute.rb:65:in `load_recipes' from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/cli/execute.rb:31:in `execute!' from /home/sunny/app/rubygems/gems/capistrano-2.9.0/lib/capistrano/cli/execute.rb:14:in `execute'
from /home/sunny/app/rubygems/gems/capistrano-2.9.0/bin/cap:4:in `<top (required)>' from /home/sunny/app/rubygems/bin/cap:19:in `load' from /home/sunny/app/rubygems/bin/cap:19:in `<main>'
The error described in issue #90 has reappeared in my bundler environment, but does not occur outside of it. I am including the exact gem versions from both cases in this report, below, for your debugging pleasure.
My current workaround is the following monkeypatch: ✨
Thanks for your consideration.
observing the bug
Gemfile.lock (where the bug occurs)
gem list (outside bundler, where bug does not occur)
The text was updated successfully, but these errors were encountered: