我一直在尝试通过 capifony 部署 symfony2 应用程序,但我在 assets:install 步骤中不断收到错误消息。这是我运行 cap deploy 时的输出:
--> Updating code base with checkout strategy
--> Creating cache directory...........................✔
--> Creating symlinks for shared directories...........✔
--> Creating symlinks for shared files.................✔
--> Normalizing asset timestamps.......................✔
--> Reinstalling vendors...............................✔
--> Building bootstrap file............................✔
--> Installing bundle's assets.........................✘
*** [deploy:update_code] rolling back
failed: "sh -c 'sudo -p '\\''sudo password: '\\'' sh -c '\\''cd /var/www/example.com/releases/20120919025653 && php app/console assets:install web --env=prod'\\'''" on stage.example.com
安装包的资产时失败。有人遇到这种情况吗?谁能帮我?