First Deploy

Hi guys!

I’m doing my first deploy with passenger + capistrano and I’m getting the error bellow. My server is dreamhost.com and I put the correct permission in all folders. Someone have some idea why I’ heaving this problem, or can suggest any tutorial that works fine?

thanks!

[teste.celsoetaniadiniz.com.br] executing command

*** [err :: teste.celsoetaniadiniz.com.br] mkdir: cannot create directory `/teste.celsoetaniadiniz.com.br’: Permission denied

*** [err :: teste.celsoetaniadiniz.com.br] mkdir: cannot create directory `/teste.celsoetaniadiniz.com.br’: Permission denied

*** [err :: teste.celsoetaniadiniz.com.br] mkdir: cannot create directory `/teste.celsoetaniadiniz.com.br’: Permission denied

*** [err :: teste.celsoetaniadiniz.com.br] mkdir: cannot create directory `/teste.celsoetaniadiniz.com.br’: Permission denied

*** [err :: teste.celsoetaniadiniz.com.br] mkdir: cannot create directory `/teste.celsoetaniadiniz.com.br’: Permission denied

*** [err :: teste.celsoetaniadiniz.com.br] mkdir: cannot create directory `/teste.celsoetaniadiniz.com.br’: Permission denied

command finished in 371ms

failed: “sh -c ‘mkdir -p /teste.celsoetaniadiniz.com.br /teste.celsoetaniadiniz.com.br/releases /teste.celsoetaniadiniz.com.br/shared /teste.celsoetaniadiniz.com.br/shared/system /teste.celsoetaniadiniz.com.br/shared/log /teste.celsoetaniadiniz.com.br/shared/pids && chmod g+w /teste.celsoetaniadiniz.com.br /teste.celsoetaniadiniz.com.br/releases /teste.celsoetaniadiniz.com.br/shared /teste.celsoetaniadiniz.com.br/shared/system /teste.celsoetaniadiniz.com.br/shared/log /teste.celsoetaniadiniz.com.br/shared/pids’” on teste.celsoetaniadiniz.com.br

https://github.com/sukima/SimNotify/blob/fec43f24ecbb4753cabfbcb5678d8f26a5a7de1e/config/deploy.rb

I’m getting this error below, with this configuration of deploy for dreamhost:
https://github.com/sukima/SimNotify/blob/fec43f24ecbb4753cabfbcb5678d8f26a5a7de1e/config/deploy.rb

failed: “sh -c ‘if [ -d /home/fernandodz3/teste.celsoetaniadiniz.com.br/shared/cached-copy ]; then cd /home/fernandodz3/teste.celsoetaniadiniz.com.br/shared/cached-copy && git fetch origin && git fetch --tags origin && git reset --hard 89418f6af0fd2ab624d2e145145607f73176df0c && git clean -d -x -f; else git clone git@gitorious.org:forever/forever.git /home/fernandodz3/teste.celsoetaniadiniz.com.br/shared/cached-copy && cd /home/fernandodz3/teste.celsoetaniadiniz.com.br/shared/cached-copy && git checkout -b deploy 89418f6af0fd2ab624d2e145145607f73176df0c; fi’” on teste.celsoetaniadiniz.com.br

I think is some with the folder “shared” or with the git repository Oo

someone have any rails project on dreamhost?