lukesampson/scoop — pull request #51 by amatashkin (2013-12-27 12:37:56+00:00)
Title: Add creation of '$dir\$extract_to' directory in install.ps1

When the source is a file, Copy-Item expects the destination
to be a file or directory that already exists. So create dir
if needed.

Fixes failure of devkit installation for ruby and ruby19.