One of Ruby's better-kept secrets: how to get temporary directory →

Here’s how

require 'tmpdir'
puts Dir.tmpdir
  1. codeindsgn posted this