lib/kapify/base.rb in kapify-0.0.8 vs lib/kapify/base.rb in kapify-0.0.9

- old
+ new

@@ -26,10 +26,10 @@ end set_default(:templates_path, "#{Dir.pwd}/config/deploy/templates") def template(from, to) - erb = File.read(File.expand_path("#{Dir.pwd}/#{templates_path}/#{from}")) + erb = File.read(File.expand_path("#{templates_path}/#{from}")) put ERB.new(erb).result(binding), to end def kapify_template(generator, template_name, target) config_file = "#{templates_path}/#{template_name}"