[Rails] Re: Saving images in shared directory w/ Capistrano/SVN?
Francois Beausoleil
francois.beausoleil at gmail.com
Sat Apr 1 04:35:39 GMT 2006
2006/3/31, Gokhan Arli <gokhan at sylow.net>:
> Jeff Coleman wrote:
> > Is it possible to save my images in a shared folder and let Capistrano
> > know about that?
>
> Yep, use shared folder and write recipie in cap to create sym links from
> public/image
Make a symlink on the production system and svn add the symlink.
Subversion will notice it is a symlink and will recreate the symlink
on subsequent checkouts.
You need SVN 1.1 or better for this to work. See
http://svnbook.red-bean.com/nightly/en/svn.advanced.props.html#svn.advanced.props.special.special
for details.
Bye !
--
François Beausoleil
http://blog.teksol.info/
More information about the Rails
mailing list