Looks like you may be using nginx to front the app; root <%=deploy_to%>/current/public; # <--- be sure to point to 'public'!
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
