我有一个deploy.rb
这样的
set :application, "api"
set :repository, "git@github.com/org/api.git"
default_run_options[:pty] = true
set :scm_passphrase, "passwd"
set :scm, :git
set :user, "deploy"
set :use_sudo, false
set :deploy_to, "/var/www"
set :deploy_via, :remote_cache
role :web, "192.168.0.95" # Your HTTP server, Apache/etc
role :app, "192.168.0.95" # This may be the same as your `Web` server
role :db, "192.168.0.95", :primary => true # This is where Rails migrations will run
role :db, "192.168.0.95"
如您所见,我正在部署到我们的 Intranet...
之后,我bundle exec foreman start
在我们的服务器上执行,当我访问该应用程序时,我看到了:
Permission denied - /var/www/releases/20120719190900/tmp/cache
我试图 chmod 和 chown 我们的 www 文件夹,但没有任何改变......
我在这里错过了什么?
谢谢