So I wrote my first little rails app and suceeded to deploy it to my railsmachine account. But now when I wrote a new app in Rails I want to overwrite the old one with this completely and I can''t seem to get this to work at all. Does someone have any tricks lying around to help me clean and re-deploy the whole shebang? -- ---------------------------------------------------- Andreas Kviby Telefon 070-352 66 76 E-post akviby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Are you using SVN? Have you committed your latest updates? FYI: Capistrano will take the latest version of your app from SVN save it in a time-stamped directory (under /appname/releases) and change the /appname/current (really a linux symbolic link) to point to the new time-stamped directory. If you are doing a totally a new app or have updated its location in SVN have you updated your RAILSROOT/config/deploy.rb file? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi I am also new to svn but I have managed to checkout the code that I have checked in but do not how to commit the changes. 2007/7/14, Luke Pearce <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>:> > > Are you using SVN? Have you committed your latest updates? > > FYI: > Capistrano will take the latest version of your app from SVN save it in > a time-stamped directory (under /appname/releases) and change the > /appname/current (really a linux symbolic link) to point to the new > time-stamped directory. > > If you are doing a totally a new app or have updated its location in SVN > have you updated your RAILSROOT/config/deploy.rb file? > > -- > Posted via http://www.ruby-forum.com/. > > > >-- ---------------------------------------------------- Andreas Kviby Telefon 070-352 66 76 E-post akviby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
In your local SVN workspace, first add any new files to the repo: svn add * Then check in the changes: svn ci -m "my check-in message" Now, when you deploy (assuming capistrano is set up correctly), your changes will supersede the old stuff on the production host. Cap actually leaves the old versions of your code on there too, but creates a symlink to the most recent version as ''current''. This page helped me a lot with deployment: http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/ On Jul 14, 10:30 am, "Andreas Kviby" <akv...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi > I am also new to svn but I have managed to checkout the code that I have > checked in but do not how to commit the changes. > > 2007/7/14, Luke Pearce <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>: > > > > > > > Are you using SVN? Have you committed your latest updates? > > > FYI: > > Capistrano will take the latest version of your app from SVN save it in > > a time-stamped directory (under /appname/releases) and change the > > /appname/current (really a linux symbolic link) to point to the new > > time-stamped directory. > > > If you are doing a totally a new app or have updated its location in SVN > > have you updated your RAILSROOT/config/deploy.rb file? > > > -- > > Posted viahttp://www.ruby-forum.com/. > > -- > ---------------------------------------------------- > Andreas Kviby > Telefon 070-352 66 76 > E-post akv...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---