# Re: Cap recipes

**URL:** <https://www.ruby-forum.com/t/re-cap-recipes/105159>\
**Category:** Radiant CMS\
**Created:** [May 26, 2007, 11:18am UTC](https://www.ruby-forum.com/t/re-cap-recipes/105159 "2007-05-26T11:18:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jomz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dfb087/32.png) [@jomz](https://www.ruby-forum.com/u/jomz)\
**Post date:** [May 26, 2007, 11:18am UTC](https://www.ruby-forum.com/t/re-cap-recipes/105159/1 "2007-05-26T11:18:44Z")

</div>

I have, if you want i can send you the entire recipe. The only “special”  
thing I have in them, is tasks to copy page attachments or gallery  
images to  
the newest release, like so;

desc “Copy gallery images to latest release”

# Because gallery images live outside of the repository, we have to copy

them to the newest release  
task :after\_update\_code, :roles =\> :app do  
run “cp -a #{current\_path}/public/galleries/\*  
#{release\_path}/public/galleries/”  
end

Subject: [Radiant] Cap recipes

> 

Met vriendelijke groeten,

Benny D.

Gorilla webdesign  
www.gorilla-webdesign.be
