Is it possible to setup deployment script so that vendors would only update if deps file has changed since the last update?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I struggled with the same problem one week ago and I found the solution.
The file symfony2.rb (at my server located under /var/lib/gems/1.8/gems/capifony-2.1.4/lib) has the following ruby-code at the very end:
Also at the very top of the same file you can see the default value for vendors_mode:
Now in my deploy.rb I used the following:
With this setting vendors are only installed if they don’t exist yet in the target-version of the deps-file!