-
Notifications
You must be signed in to change notification settings - Fork 5
empty composer
Harmen Janssen edited this page Aug 31, 2016
·
6 revisions
This used to be an issue when Composer packages were committed as part of the repo. We do not promote this anymore and instead you should get a composer.phar
on your webserver's shared
directory. It will automatically install dependencies when using Garp capistrano tasks.
Original solution:
When you have the issue of getting empty Composer packages on your web server (most often noted by an error stating Zend_Registry cannot be found when deploying). You can do the following:
Remove vendor directory and make a commit of this action. After the commit you can use the following command to reinstall all de composer packages.
composer update --prefer-dist