Create a gist now

Instantly share code, notes, and snippets.

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