We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77ae455 commit ce5d2ecCopy full SHA for ce5d2ec
lib/capistrano/postgresql/helper_methods.rb
@@ -48,7 +48,7 @@ def pg_template(update=false,archetype_file=nil)
48
generate_database_yml_io
49
else
50
if File.exists?(config_file) # If there is a customized file in your rails app template directory, use it and convert any ERB
51
- StringIO.new ERB.new(File.read(config_file)).result(binding)
+ StringIO.new(ERB.new(File.read(config_file)).result(binding)).string
52
else # Else there's no customized file in your rails app template directory, proceed with the default.
53
# Build yml file from settings
54
## We build the file line by line to avoid overwriting existing files
0 commit comments