On May 29, 12:45 am, "PortlandOnRails.com" <
schmidt...@gmail.com>
wrote:
> Hello! Thank you for all of the wonderful Rails resources. I'm having
> a problem with one of my Capistrano deployments.
> *** [err ::
iwalkthevine.com] nohup: cannot run command `script/spin':
> Permission denied
It appears that the script/spin file doesn't exist or is not
executable. You could copy this to deploy.rb and run it with "cap
examine_spin". (Or, go to the server and look at the file)
desc "Print the attributes of scripts"
task :examine_spin do
run "ls -l #{current_path}/script"
end
You should see something like: -rwxrwxr-x
-rwxrwxr-x 1 deploy deploy 166 May 22 19:44 /app/current/script/
spin
If it doesn't exist at all, you may need to create it on every deploy.
My PeepServer plugin does this automatically:
http://topfunky.net/svn/plugins/peepserver/
> cap deploy:migrations I get an error near the bottom:
Usually this is just a notification and is not fatal. It sounds like
the problem is with restarting the application with script/spin as
mentioned above.
Geoffrey Grosenbach
http://peepcode.com