Created
October 29, 2011 14:47
-
-
Save brennovich/1324531 to your computer and use it in GitHub Desktop.
Capistrano task for database.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :deploy do | |
desc "Symlinks the database.yml" | |
task :symlink_db, :roles => :app do | |
run "ln -nfs /home/#{user}/#{domain}/shared/database.yml #{release_path}/config/database.yml" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment