Skip to content

Instantly share code, notes, and snippets.

View pilisera's full-sized avatar

Andrew Piliser pilisera

View GitHub Profile
require 'yaml'
require 'syck'
require 'fileutils'
if ARGV.empty?
$stderr.puts "! Must pass one or more filenames to convert from Syck output to Psych output."
exit 1
end
bad_files = ARGV.select{ |f| ! File.exists?(f) }