cartodb-4.29/spec/support/setup_dirs.rb
2020-06-15 10:58:47 +08:00

6 lines
136 B
Ruby

dirs = []
dirs << Rails.root.join('public', 'uploads', 'failed_imports')
dirs.each{|dir| FileUtils.mkdir_p dir unless Dir.exist? dir}