Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1 from stevschmid/patch-1

Remove world-readable database.yml.example
  • Loading branch information...
commit d047bcb81b109e937daa0d8553ade4b878bccbdd 2 parents c7a5b2c + c292eee
@amfranz authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/database_yml/capistrano.rb
View
1  lib/database_yml/capistrano.rb
@@ -66,6 +66,7 @@
run <<-CMD
test -e #{shared_path}/config/database.yml || {
cp -f #{shared_path}/config/database.yml.example #{shared_path}/config/database.yml &&
+ rm #{shared_path}/config/database.yml.example &&
chmod 600 #{shared_path}/config/database.yml; }
CMD
end
Please sign in to comment.
Something went wrong with that request. Please try again.