[Rails] Re: Saving images in shared directory w/ Capistrano/SVN?

Gokhan Arli gokhan at sylow.net
Sat Apr 1 04:04:28 GMT 2006


Jeff Coleman wrote:
> Hi all,
> 
> I'm using Capistrano and SVN to version control and deploy, but I'm not 
> sure what to do about my images directory.  I use file_column and 
> RMagick to save images to the disk under a model called "Image", and 
> they're saved in public/image/... etc.
> 
> Each time I deploy a new version, my image folder doesn't exist anymore. 
> I don't want to version control map my local image folder to the 
> server's image folder, so what should I do?
> 
> Is it possible to save my images in a shared folder and let Capistrano 
> know about that?
> 
> Thanks,
> Jeff

Yep, use shared folder and write recipie in cap to create sym links from 
public/image

-- 
Posted via http://www.ruby-forum.com/.


More information about the Rails mailing list