我正在尝试为 capifony 设置我的生产服务器。我已经像这样设置了 deploy.rb:
set :application, "myappname"
set :domain, "#{application}.eu"
set :deploy_to, "/#{application}" # I don't know if this is correct?
default_run_options[:pty] = true
#set :repository, "#{domain}:/var/repos/#{application}.git"
set :repository, "/home/username/myappname"
set :scm, :git
set :deploy_via, :rsync_with_remote_cache
set :model_manager, "doctrine"
role :web, domain
role :app, domain
role :db, domain, :primary => true
set :keep_releases, 3
set :user, "mylogintossh"
set :use_sudo, false
它正在尝试创建 /myappname /myappname/releases /myappname/shared /myappname/shared/app/logs /myappname/shared/web/uploads
但许可被拒绝。我在这里做错了什么?:) 谢谢。