Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue #90 reanimated as zombie to eat my brains #140

Closed
sunaku opened this issue Jan 7, 2012 · 1 comment
Closed

issue #90 reanimated as zombie to eat my brains #140

sunaku opened this issue Jan 7, 2012 · 1 comment

Comments

@sunaku
Copy link
Contributor

sunaku commented Jan 7, 2012

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: ✨

if defined? Rake::DeprecatedObjectDSL
  Rake::DeprecatedObjectDSL.module_eval do
    undef symlink
    undef install # for bundler/capistrano
  end
end

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>'

Gemfile.lock (where the bug occurs)

PATH
  remote: ../deploy
  specs:
    deploy (0.0.1)
      binman (~> 2)
      capistrano (>= 2.9.0)

GEM
  remote: http://rubygems.org/
  specs:
    actionmailer (3.1.3)
      actionpack (= 3.1.3)
      mail (~> 2.3.0)
    actionpack (3.1.3)
      activemodel (= 3.1.3)
      activesupport (= 3.1.3)
      builder (~> 3.0.0)
      erubis (~> 2.7.0)
      i18n (~> 0.6)
      rack (~> 1.3.5)
      rack-cache (~> 1.1)
      rack-mount (~> 0.8.2)
      rack-test (~> 0.6.1)
      sprockets (~> 2.0.3)
    activemodel (3.1.3)
      activesupport (= 3.1.3)
      builder (~> 3.0.0)
      i18n (~> 0.6)
    activerecord (3.1.3)
      activemodel (= 3.1.3)
      activesupport (= 3.1.3)
      arel (~> 2.2.1)
      tzinfo (~> 0.3.29)
    activerecord-oracle_enhanced-adapter (1.4.0)
    activeresource (3.1.3)
      activemodel (= 3.1.3)
      activesupport (= 3.1.3)
    activesupport (3.1.3)
      multi_json (~> 1.0)
    arel (2.2.1)
    binman (2.0.0)
    builder (3.0.0)
    capistrano (2.9.0)
      highline
      net-scp (>= 1.0.0)
      net-sftp (>= 2.0.0)
      net-ssh (>= 2.0.14)
      net-ssh-gateway (>= 1.1.0)
    coffee-rails (3.1.1)
      coffee-script (>= 2.2.0)
      railties (~> 3.1.0)
    coffee-script (2.2.0)
      coffee-script-source
      execjs
    coffee-script-source (1.2.0)
    diff-lcs (1.1.3)
    erubis (2.7.0)
    exception_notification (2.5.2)
      actionmailer (>= 3.0.4)
    execjs (1.2.13)
      multi_json (~> 1.0)
    factory_girl (2.3.2)
      activesupport
    faker (1.0.1)
      i18n (~> 0.4)
    ffi (1.0.11)
    guard (0.10.0)
      ffi (>= 0.5.0)
      thor (~> 0.14.6)
    highline (1.6.9)
    hike (1.2.1)
    i18n (0.6.0)
    json (1.6.4)
    kgio (2.7.0)
    kwalify (0.7.2)
    libv8 (3.3.10.4)
    mail (2.3.0)
      i18n (>= 0.4.0)
      mime-types (~> 1.16)
      treetop (~> 1.4.8)
    mime-types (1.17.2)
    minitest (2.10.0)
    multi_json (1.0.4)
    net-scp (1.0.4)
      net-ssh (>= 1.99.1)
    net-sftp (2.0.5)
      net-ssh (>= 2.0.9)
    net-ssh (2.2.2)
    net-ssh-gateway (1.1.0)
      net-ssh (>= 1.99.1)
    polyglot (0.3.3)
    rack (1.3.6)
    rack-cache (1.1)
      rack (>= 0.4)
    rack-mount (0.8.3)
      rack (>= 1.0.0)
    rack-ssl (1.3.2)
      rack
    rack-test (0.6.1)
      rack (>= 1.0)
    rails (3.1.3)
      actionmailer (= 3.1.3)
      actionpack (= 3.1.3)
      activerecord (= 3.1.3)
      activeresource (= 3.1.3)
      activesupport (= 3.1.3)
      bundler (~> 1.0)
      railties (= 3.1.3)
    railties (3.1.3)
      actionpack (= 3.1.3)
      activesupport (= 3.1.3)
      rack-ssl (~> 1.3.2)
      rake (>= 0.8.7)
      rdoc (~> 3.4)
      thor (~> 0.14.6)
    rake (0.9.2.2)
    rb-inotify (0.8.8)
      ffi (>= 0.5.0)
    rdoc (3.12)
      json (~> 1.4)
    ruby-oci8 (2.1.0)
    sass (3.1.12)
    sass-rails (3.1.5)
      actionpack (~> 3.1.0)
      railties (~> 3.1.0)
      sass (~> 3.1.10)
      tilt (~> 1.3.2)
    simplecov (0.5.4)
      multi_json (~> 1.0.3)
      simplecov-html (~> 0.5.3)
    simplecov-html (0.5.3)
    sprockets (2.0.3)
      hike (~> 1.2)
      rack (~> 1.0)
      tilt (~> 1.1, != 1.3.0)
    sqlite3 (1.3.5)
    testr (14.1.1)
      binman (~> 2)
      diff-lcs (>= 1.1.2)
      guard (>= 0.8.4)
      json (>= 1.6.1)
    therubyracer (0.9.9)
      libv8 (~> 3.3.10)
    thor (0.14.6)
    tilt (1.3.3)
    treetop (1.4.10)
      polyglot
      polyglot (>= 0.3.1)
    tzinfo (0.3.31)
    uglifier (1.2.1)
      execjs (>= 0.3.0)
      multi_json (>= 1.0.2)
    unicorn (3.7.0)
      kgio (~> 2.3)
      rack

PLATFORMS
  ruby

DEPENDENCIES
  activerecord-oracle_enhanced-adapter (>= 1.3.2)
  capistrano
  coffee-rails (~> 3.1.1)
  deploy!
  exception_notification
  factory_girl
  faker
  kwalify (>= 0.7.2)
  minitest (>= 2.7.0)
  rails (= 3.1.3)
  rb-inotify
  ruby-oci8 (>= 2.0.4)
  sass-rails (~> 3.1.5)
  simplecov (> 0.5.3)
  sqlite3
  testr (>= 14.1.0)
  therubyracer
  uglifier (>= 1.0.3)
  unicorn (~> 3)

gem list (outside bundler, where bug does not occur)

sh-4.2$ gem list

*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (3.2.0.rc1, 3.1.3, 3.1.2, 3.1.1, 3.1.0, 3.0.11, 3.0.9)
actionpack (3.2.0.rc2, 3.2.0.rc1, 3.1.3, 3.1.2, 3.1.1, 3.1.0, 3.0.11, 3.0.9)
activemodel (3.2.0.rc2, 3.2.0.rc1, 3.1.3, 3.1.2, 3.1.1, 3.1.0, 3.0.11, 3.0.9)
activerecord (3.2.0.rc1, 3.1.3, 3.1.2, 3.1.1, 3.1.0, 3.0.11, 3.0.9)
activerecord-oracle_enhanced-adapter (1.4.0, 1.3.2)
activeresource (3.2.0.rc1, 3.1.3, 3.1.2, 3.1.1, 3.1.0, 3.0.11, 3.0.9)
activesupport (3.2.0.rc2, 3.2.0.rc1, 3.1.3, 3.1.2, 3.1.1, 3.1.0, 3.0.11, 3.0.9)
albino (1.3.3)
ansi (1.4.1, 1.3.0)
archive-tar-minitar (0.5.2)
arel (3.0.0.rc1, 2.2.1, 2.0.10)
arrayfields (4.7.4)
aruba (0.4.11, 0.4.9, 0.4.7, 0.4.2)
awesome_print (1.0.2, 1.0.1, 0.4.0)
barista (1.2.1, 1.0.0)
barometer (0.7.3)
bcat (0.6.2)
bcrypt-ruby (3.0.1)
bigdecimal (1.1.0)
binman (2.0.0, 1.1.0, 1.0.0)
blankslate (2.1.2.4)
builder (3.0.0, 2.1.2)
bundler (1.0.21)
capistrano (2.9.0, 2.8.0, 2.6.0)
capybara (1.1.2)
cartesian (0.6.4)
celerity (0.9.1, 0.9.0)
cheat (1.3.0)
childprocess (0.2.5, 0.2.4, 0.2.3, 0.2.2)
chronic (0.6.6, 0.6.5, 0.6.4)
cmdparse (2.0.3)
coco (0.6, 0.5.1)
coderay (1.0.5, 1.0.4, 1.0.3, 1.0.0, 0.9.8)
coffee-rails (3.2.1, 3.1.1)
coffee-script (2.2.0, 2.1.3)
coffee-script-source (1.2.0, 1.1.3, 1.1.2, 1.1.1, 1.0.1)
columnize (0.3.6, 0.3.5, 0.3.4)
configatron (2.9.0, 2.8.4, 2.8.3)
contest (0.1.3, 0.1.2)
cool.io (1.1.0)
cover_me (1.2.0)
crack (0.3.1)
cucumber (1.1.4, 1.1.3, 1.1.2, 1.0.1)
detest (3.1.3)
diff-lcs (1.1.3, 1.1.2)
ember (0.3.1)
enginex (0.8.1)
equal_rights_for_hash (0.0.4)
erubis (2.7.0, 2.6.6)
exception_notification (2.5.2)
execjs (1.2.13, 1.2.12, 1.2.11, 1.2.9, 1.2.6, 1.2.0)
factory_girl (2.3.2, 2.2.0, 2.1.2, 2.1.0, 1.3.3)
fakefs (0.4.0)
faker (1.0.1, 1.0.0, 0.9.5)
fastri (0.3.1.1)
fattr (2.2.0)
ffi (1.0.11, 1.0.10, 1.0.9)
flexmock (0.9.0, 0.8.8)
gem-man (0.3.0)
gem-open (0.1.6)
gemcutter (0.7.1, 0.7.0)
gherkin (2.7.2, 2.7.1, 2.6.9, 2.6.8, 2.6.5, 2.6.2, 2.4.21)
git (1.2.5)
graph (2.3.1, 2.3.0)
grit (2.4.1)
growl (1.0.3)
guard (0.10.0, 0.9.4, 0.9.1, 0.8.8, 0.8.4)
guard-rspec (0.6.0, 0.5.10, 0.5.9, 0.5.8, 0.5.4, 0.5.3, 0.5.0)
haml (3.1.4, 3.1.3, 3.1.1)
haml2slim (0.4.6)
hashie (1.2.0, 1.1.0)
highline (1.6.9, 1.6.8, 1.6.5, 1.6.2)
hike (1.2.1)
hoe (2.12.5, 2.12.4, 2.12.3)
hpricot (0.8.5, 0.8.4)
httparty (0.8.1)
i18n (0.6.0, 0.5.0)
inochi (6.1.0)
interactive_rspec (0.0.1)
io-console (0.3)
iobuffer (1.0.0)
jeweler (1.6.4)
journey (1.0.0.rc4, 1.0.0.rc2, 1.0.0.rc1)
jquery-rails (2.0.0, 1.0.19, 1.0.17, 1.0.16, 1.0.14)
json (1.6.4, 1.6.3, 1.6.1, 1.5.4)
kgio (2.7.0, 2.6.0, 2.5.0, 2.4.0)
kramdown (0.13.4, 0.13.3)
kwalify (0.7.2)
librmpd (0.1.1)
libv8 (3.3.10.4 x86_64-linux, 3.3.10.2 x86_64-linux)
mail (2.3.0, 2.2.19)
main (4.8.1, 4.8.0)
map (5.2.0, 5.1.0, 4.7.1, 4.3.0)
maruku (0.6.0)
md2man (1.0.1)
metaclass (0.0.1)
method_source (0.7.0, 0.6.7, 0.6.6)
mime-types (1.17.2, 1.16)
mini_backtrace (0.1.3, 0.1.1)
mini_specunit (0.3.0, 0.1.1)
minitest (2.10.0, 2.9.0, 2.8.1, 2.8.0, 2.7.0, 2.6.3, 2.6.2, 2.5.1)
minitest-rails (0.0.5)
mocha (0.10.0, 0.9.12)
multi_json (1.0.4, 1.0.3)
multi_xml (0.4.1)
mustache (0.99.4)
net-scp (1.0.4)
net-sftp (2.0.5)
net-ssh (2.2.2, 2.2.1, 2.1.4)
net-ssh-gateway (1.1.0)
nokogiri (1.5.0, 1.4.4)
parslet (1.2.3)
polyamorous (0.5.0)
polyglot (0.3.3, 0.3.2, 0.3.1)
posix-spawn (0.3.6)
pry (0.9.7.4, 0.9.7.3, 0.9.6.2)
pry-doc (0.3.0)
rack (1.4.0, 1.3.6, 1.3.5, 1.3.4, 1.3.3, 1.2.5, 1.2.3, 1.2.2)
rack-cache (1.1, 1.0.3)
rack-mount (0.8.3, 0.6.14)
rack-ssl (1.3.2)
rack-test (0.6.1, 0.5.7)
rails (3.1.3, 3.1.2, 3.1.1, 3.1.0, 3.0.9)
railties (3.2.0.rc2, 3.1.3, 3.1.2, 3.1.1, 3.1.0, 3.0.11, 3.0.9)
raindrops (0.8.0, 0.7.0)
rake (0.9.2.2 ruby, 0.9.2, 0.8.7)
rb-fsevent (0.4.3.1)
rb-inotify (0.8.8)
rcov (0.9.11)
rdiscount (1.6.8)
rdoc (3.12, 3.11, 3.10, 3.9.4 ruby, 3.6.1)
redcarpet (2.0.1, 2.0.0, 2.0.0b5, 1.17.2)
redcarpet-manpage (0.0.1)
relish (0.5.3)
rest-client (1.6.7)
ripper2ruby (0.0.2)
ronn (0.7.3)
rr (1.0.4)
rspec (2.8.0, 2.7.0, 2.6.0)
rspec-core (2.8.0, 2.7.1, 2.6.4)
rspec-expectations (2.8.0, 2.7.0, 2.6.0)
rspec-mocks (2.8.0, 2.7.0, 2.6.0)
ruby-ldap (0.9.12, 0.9.11)
ruby-oci8 (2.1.0, 2.0.6)
ruby-prof (0.10.8)
ruby_parser (2.3.1, 2.0.6)
rubygems-update (1.8.15, 1.8.14, 1.8.13, 1.8.12, 1.8.11 ruby)
rubyzip (0.9.5, 0.9.4)
rumai (4.1.3)
sass (3.1.12, 3.1.11, 3.1.10, 3.1.7)
sass-rails (3.2.3, 3.2.2, 3.2.1, 3.1.5, 3.1.4, 3.1.2)
selenium-webdriver (2.16.0)
sequel (3.31.0, 3.30.0, 3.29.0, 3.28.0)
sexp_processor (3.0.10, 3.0.9, 3.0.8, 3.0.7)
simplecov (0.5.4)
simplecov-html (0.5.3)
slim (1.1.0, 1.0.4, 1.0.3)
slop (2.4.2, 2.4.0, 2.3.1, 2.3.0, 2.1.0)
spin (0.4.2, 0.3.0, 0.2.1, 0.1.5)
spork (0.9.0.rc9)
sprockets (2.1.2, 2.1.0, 2.0.3, 2.0.2, 2.0.0)
sqlite3 (1.3.5, 1.3.4, 1.3.3)
sqlite3-ruby (1.3.3)
squeel (0.9.3)
syntax (1.0.0)
temple (0.3.5, 0.3.4)
term-ansicolor (1.0.7)
test-loop (13.0.1, 13.0.0)
test-unit (2.4.4, 2.4.3, 2.4.2, 2.4.1, 2.4.0, 2.3.0)
test-unit-must (1.0.0)
testr (14.1.1, 14.1.0, 14.0.3, 14.0.2, 14.0.1)
therubyracer (0.9.9, 0.9.8, 0.9.4)
therubyrhino (1.73.0, 1.72.8)
thor (0.14.6)
tilt (1.3.3)
tkri (0.9.5)
treequel (1.8.2, 1.8.1, 1.7.2, 1.7.0, 1.6.0, 1.5.3)
treetop (1.4.10, 1.4.9)
turn (0.8.3, 0.8.2)
tzinfo (0.3.31, 0.3.30, 0.3.29, 0.3.28)
uglifier (1.2.1, 1.2.0, 1.1.0, 1.0.4, 1.0.3)
unicorn (4.1.1, 3.7.0)
venny (1.0.3)
webgen (0.5.14)
wri (0.1.0)
xpath (0.1.4)
yamler (0.1.0)
yard (0.7.4, 0.7.3, 0.7.2)
ZenTest (4.6.2)
@sunaku
Copy link
Contributor Author

sunaku commented Jan 11, 2012

Capistrano version 2.10.0.pre fixes this issue. Thanks @leehambley.

@sunaku sunaku closed this as completed Jan 11, 2012
mattbrictson pushed a commit to mattbrictson/capistrano that referenced this issue Aug 24, 2016
…loying

Ignores Capistrano config files by default when deploying
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant