diff options
Diffstat (limited to 'config/deploy/database.rb')
-rw-r--r-- | config/deploy/database.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/deploy/database.rb b/config/deploy/database.rb index 68236d1..a42e6e6 100644 --- a/config/deploy/database.rb +++ b/config/deploy/database.rb @@ -131,7 +131,7 @@ Capistrano::Configuration.instance.load do <<: *base EOF - location = fetch(:template_dir, "config/deploy") + '/database.yml.mysql' + location = fetch(:template_dir, "config/deploy") + '/database.yml.erb' template = File.file?(location) ? File.read(location) : default_template config = ERB.new(template) |