Browse files

symlink db to release_path and not current_path

  • Loading branch information...
1 parent fd43efc commit cf9e1b1fd46945fcb745243df86fbc383e3f07b8 @nickhammond committed Jan 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/deprec/recipes/rails.rb
View
2 lib/deprec/recipes/rails.rb
@@ -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"

0 comments on commit cf9e1b1

Please sign in to comment.