Return to Snippet

Revision: 19908
at November 3, 2009 11:34 by nate63179

Initial Code
desc "Make symlink for database yaml" 
task :symlink do
  run "ln -nfs #{shared_path}/config/database.yml #{release_path}/config/database.yml" 

Initial URL

Initial Description
In this instance, used as an after-deploy hook to create a symlink to a shared db config file

Initial Title
Capistrano: Create symlink for the database config YML file

Initial Tags
rails, ruby

Initial Language