Skip to content

Commit

Permalink
symlink db to release_path and not current_path
Browse files Browse the repository at this point in the history
  • Loading branch information
nickhammond committed Jan 25, 2012
1 parent fd43efc commit cf9e1b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/deprec/recipes/rails.rb
Expand Up @@ -241,7 +241,7 @@

desc "Link in the production database.yml"
task :symlink_database_yml, :roles => :app do
run "#{sudo} ln -nfs #{shared_path}/config/database.yml #{current_path}/config/database.yml"
run "#{sudo} ln -nfs #{shared_path}/config/database.yml #{release_path}/config/database.yml"
end

desc "Copy database.yml to shared/config/database.yml. Useful if not kept in scm"
Expand Down

0 comments on commit cf9e1b1

Please sign in to comment.