I have a deploy.rblike this
set :application, "api"
set :repository, "githubrepo"

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"

as you can see, I'm doing a deploy to our intranet...
After this, I executed bundle exec foreman start on our server and when I 
access the app, i see this:Permission denied - 
/var/www/releases/20120719190900/tmp/cache

I tried to chmod and chown our www folder (chown user -R /var/www and chmod 
0666 and chmod 775), but nothing changed...
What am I missing here?
Thanks

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to