capistrano / composer

Capistrano extension for Composer tasks
MIT License
183 stars 48 forks source link

Run composer:install as part of rollbacks. #35

Closed tkrajcar closed 9 years ago

tkrajcar commented 9 years ago

Situation: 1) App deploys normally, composer:install runs as part of deployment. 2) Run cap deploy:rollback 3) Composer-generated autoload files shared across releases now attempt to load release directory that no longer exists

Remedy: Trigger composer:install during rollbacks as well as deploys.

swalkinshaw commented 9 years ago

I think this is a useful safeguard :+1:

tkrajcar commented 9 years ago

Awesome, thanks for the merge. Can I trouble you to push a release so I can target that version in my Gemfiles? Thanks! :bear:

swalkinshaw commented 9 years ago

0.0.6 is published

tkrajcar commented 9 years ago

:beers: thank you!