You have an infinite loop somewhere, can you paste a more complete capfile?
-- Lee Hambley Twitter: @leehambley | @capistranorb Blog: http://lee.hambley.name/ Working with Rails: http://is.gd/1s5W1 On 23 February 2010 23:00, E.J. Hassick <[email protected]> wrote: > So I'm still having some issues with deploying, different ones, but still > issues... > > Here's the bottom of my deploy.rb: > > namespace :my_company do > # symlink to production > namespace :symlink do > task :application, :except => { :no_release => true } do > sudo "rm -rf /var/www/html/#{application}" > sudo "ln -s #{latest_release}/drupal /var/www/html/#{application}" > end > end > # change ownership > namespace :permissions do > task :fix, :except => { :no_release => true } do > sudo "chmod -R 755 #{shared_path}/files" > end > end > end > > Things work fine up until it tries executing > my_company:symlink:application: > > > * executing `my_company:symlink:application' > ... > ... > ... > * executing `my_company:symlink:application' > * executing `my_company:symlink:application' > /usr/local/lib/ruby/gems/1.9.1/gems/capistrano-2.5.16/lib/capistrano/configuration/execution.rb:134:in > `pop_task_call_frame': sta > ck level too deep (SystemStackError) > from > /usr/local/lib/ruby/gems/1.9.1/gems/capistrano-2.5.16/lib/capistrano/configuration/execution.rb:91:in > `ensure in exe > cute_task' > from > /usr/local/lib/ruby/gems/1.9.1/gems/capistrano-2.5.16/lib/capistrano/configuration/execution.rb:91:in > `execute_task' > from > /usr/local/lib/ruby/gems/1.9.1/gems/capistrano-2.5.16/lib/capistrano/configuration/namespaces.rb:186:in > `method_miss > ing' > from > /usr/local/lib/ruby/gems/1.9.1/gems/capistrano-2.5.16/lib/capistrano/configuration/namespaces.rb:186:in > `method_miss > ing' > from > /usr/local/lib/ruby/gems/1.9.1/gems/capistrano-2.5.16/lib/capistrano/configuration/namespaces.rb:104:in > `block in ta > sk' > from ./config/deploy.rb:74:in `block (3 levels) in load' > from > /usr/local/lib/ruby/gems/1.9.1/gems/capistrano-2.5.16/lib/capistrano/configuration/execution.rb:139:in > `instance_eva > l' > from > /usr/local/lib/ruby/gems/1.9.1/gems/capistrano-2.5.16/lib/capistrano/configuration/execution.rb:139:in > `invoke_task_ > directly' > ... 5566 levels... > from > /usr/local/lib/ruby/gems/1.9.1/gems/capistrano-2.5.16/lib/capistrano/cli/execute.rb:14:in > `execute' > from > /usr/local/lib/ruby/gems/1.9.1/gems/capistrano-2.5.16/bin/cap:4:in `<top > (required)>' > from /usr/local/bin/cap:19:in `load' > from /usr/local/bin/cap:19:in `<main>' > > Any ideas? > > On Tue, Feb 23, 2010 at 3:06 PM, Lee Hambley <[email protected]>wrote: > >> :copy makes a tar.gz of the code up and scps it tup. >> >> >> -- Lee Hambley >> >> Twitter: @leehambley | @capistranorb >> >> -- >> * You received this message because you are subscribed to the Google >> Groups "Capistrano" group. >> * To post to this group, send email to [email protected] >> * To unsubscribe from this group, send email to >> [email protected]<capistrano%[email protected]>For >> more options, visit this group at >> http://groups.google.com/group/capistrano?hl=en >> > > -- > * You received this message because you are subscribed to the Google Groups > "Capistrano" group. > * To post to this group, send email to [email protected] > * To unsubscribe from this group, send email to > [email protected]<capistrano%[email protected]>For > more options, visit this group at > http://groups.google.com/group/capistrano?hl=en > -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
