Skip to content

Instantly share code, notes, and snippets.

/delete.rb Secret

Created November 22, 2013 13:34
Show Gist options
  • Save anonymous/13dcb775bde7a2befd4d to your computer and use it in GitHub Desktop.
Save anonymous/13dcb775bde7a2befd4d to your computer and use it in GitHub Desktop.
puts "Delete instance cache #{@url_instance}"
FileUtils.cd("#{@base_dir}""#{@cache_dir}")
puts "up_file_instance uid -->#{@uid}"
@fi = FileUtils.rm_r (@uid), :force => true
puts " fi -->#{@fi}"
--------
result
Delete instance cache tati.sandboxbk.net
up_file_instance uid -->tati
fi -->["tati"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment