Capifony failed reinstalling vendors with Symfony2.1

余生颓废 提交于 2019-12-12 02:18:09

问题


I'm trying to deploy a Symfony2.1 project with Capifony2.1.14 and it failed when reinstalling vendors .

Configuration: I'm on Mac OSX Montain Lion (client) and have a server on servergrove.com witch is on Ubuntu 12.04.1 LTS.

My deploy.rb file looks like this:

set :application, "DOA Manager Toshiba"
set :domain,      "root@server.me"
set :deploy_to,   "/var/www/vhosts/server.me"
set :app_path,    "app"
set :user,        "root"
set :use_sudo,    false

set :repository,  "git://github.com/****/****.git"
set :scm,         :git
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `subversion`, `mercurial`, `perforce`, or `none`

set :model_manager, "doctrine"
# Or: `propel`

role :web,        domain                         # Your HTTP server, Apache/etc
role :app,        domain                         # This may be the same as your `Web` server
role :db,         domain, :primary => true       # This is where Symfony2 migrations will run

set  :keep_releases,  3

set :update_vendors,    true
ssh_options[:forward_agent] = true


# Be more verbose by uncommenting the following line
# logger.level = Logger::MAX_LEVEL

And here are the output on my terminal:

Can someone explain to me why I get this error and how I can fix it?


回答1:


You should add:

set :use_composer, true

To your deploy.rb.



来源:https://stackoverflow.com/questions/12268077/capifony-failed-reinstalling-vendors-with-symfony2-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!