Capistrano problem

Hello

I am trying to get Capistrano working for my application. I am getting a problem where Capistrano is trying to make a symbolic link to <app>/public/system. Well my app does not have a system under public. Is it supposed to? If so, how do I create one? Here is the Capistrano output in question. After this fails, it attempts to rollback and does not do too well. ** [out :: www.paulkristoff.com] creating symbolic link `/home/kristoff/rails_sites/website/releases/20060827132215/public/syste m' to `/home/kristoff/rails_sit es/website/shared/system' ** [out :: www.paulkristoff.com] : No such file or directory ** [out :: 69.16.220.210] ln: creating symbolic link `/home/kristoff/rails_sites/website/releases/20060827132215/public/syste m' to `/home/kristoff/rails_sites/ website/shared/system': No such file or directory Any help would be appreciated. Below is the full trace. Paul Kristoff

$ rake --trace remote:deploy (in /cygdrive/c/Documents and Settings/Paul/My Documents/rails/website) MY UNITS Task_name = remote:deploy ** Invoke remote:deploy (first_time) ** Execute remote:deploy loading configuration /usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capis trano/recipes/standard.rb loading configuration ./config/deploy.rb * executing task deploy ** transaction: start * executing task update_code * querying latest revision... Password: * executing "if [[ ! -d /home/kristoff/rails_sites/website/releases/2006082713 2215 ]]; then\n svn co -q -r20 svn+ssh://kristoff@paulkristoff.com /home/kristoff/svn/GivingTree/ /home/kristoff/rails_sites/website/releases/20060 827132215 &&\n (test -e /home/kristoff/rails_sites/website/revision s.log || touch /home/kristoff/rails_sites/website/revisions.log && chmod 666 /ho me/kristoff/rails_sites/website/revisions.log) && echo `date +\"%Y-%m-%d %H:%M:% S\"` $USER 20 20060827132215 >> /home/kristoff/rails_sites/website/revisions.log ;\n fi" servers: ["69.16.220.210", "www.paulkristoff.com"] Password: <password> [69.16.220.210] executing command [www.paulkristoff.com] executing command ** [out :: 69.16.220.210] Password: ** [out :: 69.16.220.210] subversion is asking for a password ** [out :: www.paulkristoff.com] Password: ** [out :: www.paulkristoff.com] subversion is asking for a password ** [out :: www.paulkristoff.com] Password: ** [out :: www.paulkristoff.com] subversion is asking for a password ** [out :: www.paulkristoff.com] Password: ** [out :: www.paulkristoff.com] subversion is asking for a password ** [out :: 69.16.220.210] Password: ** [out :: 69.16.220.210] subversion is asking for a password ** [out :: 69.16.220.210] Password: ** [out :: 69.16.220.210] subversion is asking for a password command finished * executing "rm -rf /home/kristoff/rails_sites/website/releases/20060827132215 /log /home/kristoff/rails_sites/website/releases/20060827132215/public/system && \n ln -nfs /home/kristoff/rails_sites/website/shared/log /home/kristoff/rails _sites/website/releases/20060827132215/log &&\n ln -nfs /home/kristoff/rails_ sites/website/shared/system /home/kristoff/rails_sites/website/releases/20060827 132215/public/system" servers: ["69.16.220.210", "www.paulkristoff.com"] [www.paulkristoff.com] executing command [69.16.220.210] executing command ** [out :: www.paulkristoff.com] ln: ** [out :: www.paulkristoff.com] creating symbolic link `/home/kristoff/rails_s ites/website/releases/20060827132215/public/system' to `/home/kristoff/rails_sit es/website/shared/system' ** [out :: www.paulkristoff.com] : No such file or directory ** [out :: 69.16.220.210] ln: creating symbolic link `/home/kristoff/rails_site s/website/releases/20060827132215/public/system' to `/home/kristoff/rails_sites/ website/shared/system': No such file or directory command finished *** [update_code] transaction: rollback * [update_code] rolling back * executing "rm -rf /home/kristoff/rails_sites/website/releases/20060827132215 " servers: ["www.paulkristoff.com", "69.16.220.210"] [69.16.220.210] executing command [www.paulkristoff.com] executing command ** [out :: www.paulkristoff.com] rm: ** [out :: www.paulkristoff.com] cannot remove directory `/home/kristoff/rails_ sites/website/releases/20060827132215/Website/app/views/root' ** [out :: www.paulkristoff.com] : No such file or directory ** [out :: www.paulkristoff.com] rm: ** [out :: www.paulkristoff.com] cannot remove directory `/home/kristoff/rails_ sites/website/releases/20060827132215/Website/log/.svn/text-base' ** [out :: www.paulkristoff.com] : No such file or directory ** [out :: www.paulkristoff.com] rm: ** [out :: www.paulkristoff.com] cannot remove directory `/home/kristoff/rails_ sites/website/releases/20060827132215/Website/log/.svn/tmp/text-base' ** [out :: www.paulkristoff.com] : No such file or directory ** [out :: www.paulkristoff.com] rm: ** [out :: www.paulkristoff.com] cannot remove directory `/home/kristoff/rails_ sites/website/releases/20060827132215/Website/db/.svn' ** [out :: www.paulkristoff.com] : No such file or directory ** [out :: www.paulkristoff.com] rm: ** [out :: www.paulkristoff.com] cannot lstat `/home/kristoff/rails_sites/websi te/releases/20060827132215/Website/components/.svn/tmp/props' ** [out :: www.paulkristoff.com] : No such file or directory command finished ** [update_code] exception while rolling back: RuntimeError, command "rm -rf /h ome/kristoff/rails_sites/website/releases/20060827132215" failed on www.paulkris toff.com rake aborted! command "rm -rf /home/kristoff/rails_sites/website/releases/20060827132215/log / home/kristoff/rails_sites/website/releases/20060827132215/public/system &&\\\n ln -nfs /home/kristoff/rails_sites/website/shared/log /home/kristoff/rails_sit es/website/releases/20060827132215/log &&\\\n ln -nfs /home/kristoff/rails_si tes/website/shared/system /home/kristoff/rails_sites/website/releases/2006082713 2215/public/system" failed on 69.16.220.210 /usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/command.rb:4 5:in `pr ocess!' /usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:176 :in `run ' /usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:425 :in `exe cute_on_servers' /usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:173 :in `run ' /usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/stan dard.rb: 72:in `load' /usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:125 :in `upd ate_code' /usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/stan dard.rb: 141:in `load' /usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:329 :in `tra nsaction' /usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/stan dard.rb: 140:in `load' /usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:125 :in `dep loy' /usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/cli.rb:246:i n `execu te_recipes!' /usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/cli.rb:246:i n `execu te_recipes!' /usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/cli.rb:221:i n `execu te!' ./lib/tasks/capistrano.rake:15:in `cap' ./lib/tasks/capistrano.rake:26 /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in `invoke' /usr/lib/ruby/1.8/thread.rb:135:in `synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 /usr/bin/rake:18

Paul,

try running:

rake remote:exec ACTION="setup"

to setup the standard directory structure with a app/shared and app/current and app/releases directory structure.