lib/figs/tasks/install.rake in figs-1.2.2 vs lib/figs/tasks/install.rake in figs-1.2.3

- old
+ new

@@ -21,10 +21,10 @@ end end def create_non_existent_yaml(locations) locations.each do |file| - if !File.exists?(file) + if !File.exists?(file) && !Dir.exists?(file) puts "[Add] #{file} does not exist, creating." application_yml = File.expand_path("../../templates/application.yml", __FILE__) File.open(file, 'w+') do |f| f.write(ERB.new(File.read(application_yml)).result(binding)) end \ No newline at end of file