All,
I have successfully executed the “deploy” task in Capistrano/Switchtower
to establish a symbolic link named “current” which points to the current
version of my app. on my remote server.
My app. was already deployed to the existing Rails root directory (call
it “appname”) though.
I have Apache fronting my app. through a virtual host whose doc. root is
itself a symbolic link to “appname”.
So to summarize, now I have
appname/app
appname/config
.
.
.
appname/vendor
because of the “OLD” way,
and I have
appname/current/app
appname/current/config
.
.
.
appname/current/vendor
because of Capistrano deployment.
In order to take advantage of my new deployment ability, should I:
- Point my Apache symlink to the “appname/current” symlink
OR
- somehow force my RAILS_ROOT to be this “appname/current” symlink
OR
- configure Capistrano to use “appname” itself as the name of the
“current” directory and lose the directory named “current” living under
“appname”?
I hope that this makes sense.
Thanks,
Wes