set :deploy_to, "/home/agrawalm/wwbp-mturk-staging" Is the correct deploy_to
Unless you've mucked with capistrano internals the repo will be deployed to a timestamped directory under releases and on successful deploy a symlink will be created that points current to the timestamped release directory. Based in your error log you have an incorrect path in your runner. Ie whatever you are using to serve the app. What are you using, thin, passenger, unicorn? On Aug 24, 2012, at 3:53 PM, Megha Agrawal <[email protected]> wrote: > Hi, > > I have deployed a rails application. But when I start the server it, gives > the following error: > > 2012/08/24 18:14:19 [error] 3870#0: *4 > "/home/agrawalm/wwbp-mturk-staging/public/index.html" is not found (2: No > such file or directory), client: 127.0.0.1, server: _, request: "HEAD / > HTTP/1.1", host: "0.0.0.0" > > I an using capistrano multistage and currently deployed in staging stage. In > staging.rb, I have : > set :deploy_to, "/home/agrawalm/wwbp-mturk-staging" > > When it deploys the latest version go to current folder in > /home/agrawalm/wwbp-mturk-staging and thus the error as it does not find any > public folder there. > > Can I set the deploy_to to /home/agrawalm/wwbp-mturk-staging/current/public > ?? > > Thanks, > Megha > > > -- > * 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 -- * 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
