Skip to content

Instantly share code, notes, and snippets.

@cyu
Created May 25, 2009 01: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 cyu/117331 to your computer and use it in GitHub Desktop.
Save cyu/117331 to your computer and use it in GitHub Desktop.
task :symlink_reports do
run "mkdir -p #{shared_path}/report; ln -nfs #{shared_path}/report #{release_path}/public/report"
end
after 'deploy:update_code', 'deploy:symlink_reports'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment