Hi guys, Can anyone clarify/confirm the best way of manually copying rails into my application's vendor area in production, so not as to have it in SVN and avoid the overhead of the transfers when using Capistrano.
Q1 - Is it as simple in unix as just creating a "rails" symlink under the "app/vendor" area that points to where I have copied the Rails code to? Q2 - Re the rails code to copy, can I assume I checkout rails code, and then do an svn export (i.e. to get a copy of the codebase that doesn't include an SVN artifacts)? This concept seems easier than going for the svn:externals approach no? Tks Greg On 2/18/07, Jamis Buck <[EMAIL PROTECTED]> wrote: > > > On Feb 17, 2007, at 1:35 AM, Greg Hauptmann wrote: > > > Hi, > > > > I had some questions on capistrano now that I've had to "freeze > > rails" for the first time as Dreamhost isn't on the latest version > > yet. So I'm assuming I will freeze rails into my application, add > > the new vendor/rails directory to my subversion repository ( i.e. > > will commit all the rails files as part of my application), then > > run "cap deploy" to upload the whole application including the > > local rails files to my server. > > > > Q1 - Is this the normal process here? ( i.e. committing the rails > > files) > > More or less. Some folks use svn:externals to basically link to a > revision of rails directly, rather than checking the entire rails > codebase into their own application, but the check-in approach is > being used by people, too. There are other methods in use as well, > though they require more setup and maintenance; one such approach is > where you would check-out (or copy) rails to your app's "shared" > directory on each target server, and then symlink to it on each deploy. > > <cut> - Jamis > > > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
