FileUtils.makedirs(LOCAL_DIR) unless File.exists?LOCAL_DIR
require 'fileutils'
Dir.mkdir(DATA_DIR) unless File.exists?(DATA_DIR)    
05-11 22:54