Lanzamiento de actualización de Ruby on Rails Capistrano

Estoy confundido sobre qué hacer para que Capistrano actualice.

He asignado mis cambios a git. Bueno, infierno, escribiré todos los pasos que tome.

  1. git commit -a
  2. git push (todos los files enviados con éxito al repository remoto de git, todos los cambios anotados)
  3. deployment de tapa

Pero no implementa la última versión del sitio.

De hecho, despliega la versión más antigua.

Cap Desplegar respuesta

triggering load callbacks * 2013-07-13 17:09:08 executing `deploy:update' ** transaction: start * 2013-07-13 17:09:08 executing `deploy:update_code' executing locally: "git ls-remote ssh://ubuntu@54.229.78.34/~/liquid_admin.git master" command finished in 3150ms * executing "git clone -b master --depth 1 ssh://ubuntu@54.229.78.34/~/liquid_admin.git /home/ubuntu/liquid_admin/releases/20130713150911 && cd /home/ubuntu/liquid_admin/releases/20130713150911 && git checkout -b deploy d609108bf81df3cb558f7536c3cee98d852b4ec5 && git submodule init && git submodule sync && export GIT_RECURSIVE=$([ ! \"`git --version`\" \\< \"git version 1.6.5\" ] && echo --recursive) && git submodule update --init $GIT_RECURSIVE && rm -Rf /home/ubuntu/liquid_admin/releases/20130713150911/.git && (echo d609108bf81df3cb558f7536c3cee98d852b4ec5 > /home/ubuntu/liquid_admin/releases/20130713150911/REVISION)" servers: ["54.229.78.34"] [54.229.78.34] executing command ** [54.229.78.34 :: out] Cloning into '/home/ubuntu/liquid_admin/releases/20130713150911'... ** [54.229.78.34 :: out] remote: Counting objects: 276, done. remote: Compressing objects: 1% (3/239) ** [54.229.78.34 :: out] remote: Compressing objects: 2% (5/239) ** [54.229.78.34 :: out] remote: Compressing objects: 3% (8/239) ** [54.229.78.34 :: out] remote: Compressing objects: 4% (10/239) ** [54.229.78.34 :: out] remote: Compressing objects: 5% (12/239) ** [54.229.78.34 :: out] remote: Compressing objects: 6% (15/239) 

(entonces un infierno de muchos más entonces …)

 ** [54.229.78.34 :: out] Resolving deltas: 100% (58/58), done. ** [54.229.78.34 :: out] Switched to a new branch 'deploy' command finished in 5206ms * 2013-07-13 17:09:19 executing `deploy:finalize_update' triggering before callbacks for `deploy:finalize_update' * 2013-07-13 17:09:19 executing `bundle:install' * executing "cd /home/ubuntu/liquid_admin/releases/20130713150911 && bundle install --gemfile /home/ubuntu/liquid_admin/releases/20130713150911/Gemfile --path /home/ubuntu/liquid_admin/shanetworking/bundle --deployment --quiet --without development test" servers: ["54.229.78.34"] [54.229.78.34] executing command command finished in 2138ms * executing "chmod -R -- g+w /home/ubuntu/liquid_admin/releases/20130713150911 && rm -rf -- /home/ubuntu/liquid_admin/releases/20130713150911/public/system && mkdir -p -- /home/ubuntu/liquid_admin/releases/20130713150911/public/ && ln -s -- /home/ubuntu/liquid_admin/shanetworking/system /home/ubuntu/liquid_admin/releases/20130713150911/public/system && rm -rf -- /home/ubuntu/liquid_admin/releases/20130713150911/log && ln -s -- /home/ubuntu/liquid_admin/shanetworking/log /home/ubuntu/liquid_admin/releases/20130713150911/log && rm -rf -- /home/ubuntu/liquid_admin/releases/20130713150911/tmp/pids && mkdir -p -- /home/ubuntu/liquid_admin/releases/20130713150911/tmp/ && ln -s -- /home/ubuntu/liquid_admin/shanetworking/pids /home/ubuntu/liquid_admin/releases/20130713150911/tmp/pids" servers: ["54.229.78.34"] [54.229.78.34] executing command command finished in 756ms * executing "find /home/ubuntu/liquid_admin/releases/20130713150911/public/images /home/ubuntu/liquid_admin/releases/20130713150911/public/stylesheets /home/ubuntu/liquid_admin/releases/20130713150911/public/javascripts -exec touch -t 201307131509.22 -- {} ';'; true" servers: ["54.229.78.34"] [54.229.78.34] executing command ** [out :: 54.229.78.34] find: ** [out :: 54.229.78.34] `/home/ubuntu/liquid_admin/releases/20130713150911/public/images' ** [out :: 54.229.78.34] : No such file or directory ** [out :: 54.229.78.34] ** [out :: 54.229.78.34] find: ** [out :: 54.229.78.34] `/home/ubuntu/liquid_admin/releases/20130713150911/public/stylesheets' ** [out :: 54.229.78.34] : No such file or directory ** [out :: 54.229.78.34] ** [out :: 54.229.78.34] find: ** [out :: 54.229.78.34] `/home/ubuntu/liquid_admin/releases/20130713150911/public/javascripts' ** [out :: 54.229.78.34] : No such file or directory ** [out :: 54.229.78.34] command finished in 767ms * 2013-07-13 17:09:23 executing `deploy:create_symlink' * executing "sudo -p 'sudo password: ' rm -f /home/ubuntu/liquid_admin/current && sudo -p 'sudo password: ' ln -s /home/ubuntu/liquid_admin/releases/20130713150911 /home/ubuntu/liquid_admin/current" servers: ["54.229.78.34"] [54.229.78.34] executing command command finished in 837ms ** transaction: commit 

ACTUALIZAR

Hice "cap deploy: update" y actualizó algunos de los files. Por ejemplo, mi database.yml se actualizó. Pero ninguno de los nuevos puntos de vista, nuevos controlleres o nuevos models están ahí …

ACTUALIZACIÓN 2

Parece que solo ha cambiado los files que existían durante mi primer deployment. Así que "publicaciones" y "inicio" y todo eso cambió … pero los nuevos controlleres, models o vistas que hice después de eso no se implementaron.

El deployment de la tapa generalmente despliega el maestro. ¿Hizo cambios en una twig diferente y olvidó fusionarla nuevamente?