Skip to content

Instantly share code, notes, and snippets.

@eladmeidar
Created August 6, 2012 09:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eladmeidar/3272506 to your computer and use it in GitHub Desktop.
Save eladmeidar/3272506 to your computer and use it in GitHub Desktop.
desc "copy local configuration files into release directory"
 task :config, :roles => :app do
 run<<-CMD
   ls -1 #{shared_path}/config | while read f; do
   ln -nfs #{shared_path}/config/$f #{release_path}/config/$f;
   done
   CMD
 end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment