I’m trying to learn how to deploy apps from my Windows development box.
My
host is Dreamhost. I’m following this tutorial:
http://wiki.dreamhost.com/index.php/Capistrano
I’ve set up a sub-domain.
I’ve created a Rails app and put it into my subversion repository as per
the
tutorial.
I’ve run “cap setup” and that runs ok.
When I run “cap deploy” it connects to the server and it puts my app up
there - I can see it in one of the releases folders.
However, the process fails saying:
" ** [out :: delipaste.icuo.us] bash: line 1:
/home/tdonaghe/delipaste.icuo.us/current/script/process/reaper:
Permission
denied"
Sure enough, when I look in that directory up on the server (in
delipaste.icuo.ushttps://webftp.dreamhost.com/index.php?ftpserver=plenty.dreamhost.com&ftpserverport=21&username=tdonaghe&password_encrypted=613861626F6630323235&language=en&skin=blue&ftpmode=binary&passivemode=yes&sslconnect=no&viewmode=list&sort=&sortorder=&state=browse&state2=main&directory=/delipaste.icuo.us/
releaseshttps://webftp.dreamhost.com/index.php?ftpserver=plenty.dreamhost.com&ftpserverport=21&username=tdonaghe&password_encrypted=613861626F6630323235&language=en&skin=blue&ftpmode=binary&passivemode=yes&sslconnect=no&viewmode=list&sort=&sortorder=&state=browse&state2=main&directory=/delipaste.icuo.us/releases/
20060916053057https://webftp.dreamhost.com/index.php?ftpserver=plenty.dreamhost.com&ftpserverport=21&username=tdonaghe&password_encrypted=613861626F6630323235&language=en&skin=blue&ftpmode=binary&passivemode=yes&sslconnect=no&viewmode=list&sort=&sortorder=&state=browse&state2=main&directory=/delipaste.icuo.us/releases/20060916053057/
scripthttps://webftp.dreamhost.com/index.php?ftpserver=plenty.dreamhost.com&ftpserverport=21&username=tdonaghe&password_encrypted=613861626F6630323235&language=en&skin=blue&ftpmode=binary&passivemode=yes&sslconnect=no&viewmode=list&sort=&sortorder=&state=browse&state2=main&directory=/delipaste.icuo.us/releases/20060916053057/script/process),
I
see that the permissions are not set so that the reaper file is
executable
(it looks like rw-r–r–).
I have no way to do a “chmod” on the file in windows, do I? I can’t fix
it
in that releases directory either, because the next time I run “cap
deploy”
it puts a new version of the files up there and reaper is still not
executable.
How can I get Capistrano to deploy reaper in such a way that it’s
executable? What should I do?
Thanks for any help!!
–
Terry (TAD) Donaghe
http://www.tadspot.com