On Oct 26, 2006, at 1:17 PM, E.B. Farnum wrote:

>
> Great!  Ok, one more question.  Tell me if I'm an idiot.
>
> So let's say I have a dev box with rails running on it.  I work on  
> that
> box and check files in and out of subversion.  I run cap --apply-to.
> The path I include on that command is obviously going to be the path
> where my rails root is on my dev box.  Is the deploy_to variable in
> deploy.rb supposed to point to the place where I already have rails
> installed on my production boxes?  If so won't my rails root get  
> messed
> up because it the root will actually be under the symlinked directory
> "current?"

Yes, it would bork things.

> Would the normal way of handling this be just change your config files
> around to point at the new rails root?

Yup, just change references to:

/path/to/your/deploy/

to:

/path/to/your/deploy/current

Cheers!

- Stephen


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to