[Rails] Re: Re: Saving images in shared directory w/ Capistrano/SVN?
Jeff Coleman
progressions at gmail.com
Sat Apr 1 04:40:33 GMT 2006
François Beausoleil wrote:
> 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 !
Wow, that is nice. I went ahead and made a cap recipe to recreate the
symlink, but that's pretty much seamless. Thanks!
Jeff
--
Posted via http://www.ruby-forum.com/.
More information about the Rails
mailing list