After I bundle update both on my local computer and on the server, I can no longer deploy it. The error I get is kind of right, as I suppose, but I can not understand what is happening:
cap deploy * 2012-10-30 02:48:45 executing 'deploy' * 2012-10-30 02:48:45 executing 'deploy:update' ** transaction: start * 2012-10-30 02:48:45 executing 'deploy:update_code' executing locally: "git ls-remote ssh:// ubuntu@robotinthecloak.com /~/git/strana_cvetov.git HEAD" ubuntu@robotinthecloak.com password: command finished in 7500ms * executing "git clone -q --depth 1 ssh:// ubuntu@robotinthecloak.com /~/git/strana_cvetov.git ~/rails_apps/strana_cvetov/releases/20121029224852 && cd ~/rails_apps/strana_cvetov/releases/20121029224852 && git checkout -q -b deploy 672780789da61c81640fe7fbd2728064d0f89db3 && (echo 672780789da61c81640fe7fbd2728064d0f89db3 > ~/rails_apps/strana_cvetov/releases/20121029224852/REVISION)" servers: ["robotinthecloak.com"] Password: [robotinthecloak.com] executing command ** [robotinthecloak.com :: out] ubuntu@robotinthecloak.com password: Password: ** [robotinthecloak.com :: out] command finished in 2265ms * 2012-10-30 02:48:56 executing 'deploy:finalize_update' triggering before callbacks for 'deploy:finalize_update' * 2012-10-30 02:48:56 executing 'deploy:assets:symlink' * executing "rm -rf ~/rails_apps/strana_cvetov/releases/20121029224852/public/assets &&\\\n mkdir -p ~/rails_apps/strana_cvetov/releases/20121029224852/public &&\\\n mkdir -p ~/rails_apps/strana_cvetov/shared/assets &&\\\n ln -s ~/rails_apps/strana_cvetov/shared/assets ~/rails_apps/strana_cvetov/releases/20121029224852/public/assets" servers: ["robotinthecloak.com"] [robotinthecloak.com] executing command command finished in 162ms * executing "chmod -R -- g+w \\~/rails_apps/strana_cvetov/releases/20121029224852 && rm -rf -- \\~/rails_apps/strana_cvetov/releases/20121029224852/public/system && mkdir -p -- \\~/rails_apps/strana_cvetov/releases/20121029224852/public/ && ln -s -- ~/rails_apps/strana_cvetov/shared/system \\~/rails_apps/strana_cvetov/releases/20121029224852/public/system && rm -rf -- \\~/rails_apps/strana_cvetov/releases/20121029224852/log && ln -s -- ~/rails_apps/strana_cvetov/shared/log \\~/rails_apps/strana_cvetov/releases/20121029224852/log && rm -rf -- \\~/rails_apps/strana_cvetov/releases/20121029224852/tmp/pids && mkdir -p -- \\~/rails_apps/strana_cvetov/releases/20121029224852/tmp/ && ln -s -- ~/rails_apps/strana_cvetov/shared/pids \\~/rails_apps/strana_cvetov/releases/20121029224852/tmp/pids" servers: ["robotinthecloak.com"] [robotinthecloak.com] executing command ** [out :: robotinthecloak.com] chmod: ** [out :: robotinthecloak.com] cannot access '~/rails_apps/strana_cvetov/releases/20121029224852' ** [out :: robotinthecloak.com] : No such file or directory ** [out :: robotinthecloak.com] command finished in 205ms *** [deploy:update_code] rolling back * executing "rm -rf ~/rails_apps/strana_cvetov/releases/20121029224852; true" servers: ["robotinthecloak.com"] [robotinthecloak.com] executing command command finished in 167ms failed: "sh -c 'chmod -R -- g+w \\~/rails_apps/strana_cvetov/releases/20121029224852 && rm -rf -- \\~/rails_apps/strana_cvetov/releases/20121029224852/public/system && mkdir -p -- \\~/rails_apps/strana_cvetov/releases/20121029224852/public/ && ln -s -- ~/rails_apps/strana_cvetov/shared/system \\~/rails_apps/strana_cvetov/releases/20121029224852/public/system && rm -rf -- \\~/rails_apps/strana_cvetov/releases/20121029224852/log && ln -s -- ~/rails_apps/strana_cvetov/shared/log \\~/rails_apps/strana_cvetov/releases/20121029224852/log && rm -rf -- \\~/rails_apps/strana_cvetov/releases/20121029224852/tmp/pids && mkdir -p -- \\~/rails_apps/strana_cvetov/releases/20121029224852/tmp/ && ln -s -- ~/rails_apps/strana_cvetov/shared/pids \\~/rails_apps/strana_cvetov/releases/20121029224852/tmp/pids'" on robotinthecloak.com
My deploy.rb looks like this:
# The name of the app set :application, "strana_cvetov"
When I run deploy:check it says that You appear to have all necessary dependencies installed .
I searched the Internet, on this site, tried all the solutions that I could find, but nothing worked.
Other projects on this server do not deploy with the same error, but a couple of days ago everything worked fine, and I did not touch anything. What's happening?
source share