public
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8
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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.