Symfony2 プロジェクトをサーバーと capifony にデプロイしたいのですが、問題があります:
[server.com] executing command
*** [err :: server.com] find: /home/app/src/releases/20120207163503/web/css: No such file or directory
*** [err :: server.com]
*** [err :: server.com] find: /home/app/src/releases/20120207163503/web/images: No such file or directory
*** [err :: server.com] find: /home/app/src/releases/20120207163503/web/js
*** [err :: server.com] : No such file or directory
スクリプトは続行しますが、他のエラーがあります
* executing "cd /home/app/src/releases/20120207163503 && /usr/local/php5/bin/php bin/vendors install --reinstall"
servers: ["server.com"]
[server.com] executing command
** [out :: server.com] X-Powered-By: PHP/5.3.8-pl0-gentoo
** [out :: server.com] Content-type: text/html
** [out :: server.com]
** [out :: server.com] <br />
** [out :: server.com] <b>Warning</b>: Wrong parameter count for parse_ini_file() in <b>/home/app/src/releases/20120207163503/bin/vendors</b> on line <b>69</b><br />
** [out :: server.com] <br />
** [out :: server.com] <b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/app/src/releases/20120207163503/bin/vendors</b> on line <b>73</b><br />
*** [err :: server.com] sh: ./vendor/bundles/Sensio/Bundle/DistributionBundle/Resources/bin/build_bootstrap.php: No such file or directory
*** [err :: server.com] sh: ./app/console: No such file or directory
*** [err :: server.com] sh: ./app/console: No such file or directory
command finished in 369ms
ServerGrove チュートリアルに従いました
ここに私の deploy.rb ファイルがあります
set :serverName, "server.com" # The server's hostname
set :repository, "file:///Applications/MAMP/htdocs/sf2"
set :domain, "server.com"
set :deploy_to, "/home/app/src" # Remote location where the project will be stored
ssh_options[:port] = "22"
set :scm, :git
set :deploy_via, :rsync_with_remote_cache
set :user, "root"
# Roles
role :web, domain
role :app, domain
role :db, domain, :primary => true
set :keep_releases, 3 # The number of releases which will remain on the server
set :use_sudo, false
# Update vendors during the deploy
set :update_vendors, true
# Set some paths to be shared between versions
set :shared_files, ["app/config/parameters.ini"]
set :shared_children, [app_path + "/logs", web_path + "/uploads", "vendor"]
編集: PHP のバージョンを 5.3.8 に変更しましたが、まったく同じエラーが発生しました。