I see, i'm going to try and manually just move it. But the question is, this is a vanilla rails 3 app with no modifications, and my capistrano deploy seems very vinalla also.
Why does this have to happend, what I am trying to say is, what am I doing wrong here :) On Nov 28, 5:43 pm, Lee Hambley <[email protected]> wrote: > Everything in > /path/to/www/domain1.com/current/my_app<http://domain1.com/current/REVISION/path/to/www/domain1.com/current/m...> > needs > to move up a level. > > On 28 November 2010 23:41, Gitted <[email protected]> wrote: > > > > > > > > > Hi Lee, > > > When you generate a Rails application, like rails new my_app it > > creates: > > > /my_app/ > > /my_app/app > > /my_app/public > > /my_app/Rakefile > > .. > > .. > > > When I deploy my folders are like: > > > /path/to/www/#{application} > > > so mine is: > > > /path/to/www/domain1.com > > > and the files are like: > > > /path/to/www/domain1.com/current releases shared > > > /path/to/www/domain1.com/current > > /path/to/www/domain1.com/current/REVISION > > /path/to/www/domain1.com/current/my_app > > /path/to/www/domain1.com/current/log > > /path/to/www/domain1.com/current/public > > /path/to/www/domain1.com/current/tmp > > > Is this correct? > > > My nginx is pointing to: > > > root /path/to/www/domain1.com/current/public > > > And that folder is completely empty! > > > Is my deploy.rb wrong? > > > I set deploy_to: > > > set :deploy_to, "/path/to/www/#{application}" > > > set :application, "domain1.com" > > > On Nov 28, 5:04 pm, Lee Hambley <[email protected]> wrote: > > > Your directory structure is wrong, your project needs to be in the > > > repository root. > > > > On 28 November 2010 22:04, Gitted <[email protected]> wrote: > > > > > My /app folder has the rakefile, but not the parent directory (even > > > > locally). > > > > > /domains/myapp/current > > > > > Doesn't have the rake file > > > > > but: > > > > > /domains/myapp/current/my_app_name/ > > > > > has the rake file. > > > > > Isn't this normal? I'm new to rails so a little lost here. > > > > > On Nov 28, 3:36 pm, Lee Hambley <[email protected]> wrote: > > > > > Missing Rakefile in server release directory? (indicative of missing > > > > code, > > > > > perhaps you didn't `git push`?) > > > > > > - Lee > > > > > -- > > > > * 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]<capistrano%2bunsubscr...@googlegrou > > > > ps.com> > > <capistrano%2bunsubscr...@googlegrou ps.com>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]<capistrano%2bunsubscr...@googlegrou > > ps.com>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
