Add batch cleanup code for windows
Support rubygems 2.x
Merge pull request #295 from opscode/jdmundrawala/batch-rebuild

Add batch cleanup code for windows