Add batch cleanup code for windows

This will rebuild the batch files to use the relative path to the embedded ruby. Consequently, this will solve https://github.com/opscode/chef-dk/issues/221, however I have no idea why it is using bin\ruby.exe instead embedded\bin\ruby.exe

This change is tested by https://github.com/opscode/chef-dk/pull/235
 
cc @btm @sersut @opscode/client-engineers 
I think so; give it a shot. Gem::Version is the class you want to take a
look at. Or you can use the constant for Gem.
 On Nov 19, 2014 11:36 AM, "Tyler Ball" <notifications@github.com> wrote:

> In config/software/shebang-cleanup.rb:
>
> >
> >  build do
> > -  # Fix the shebang for binaries with shebangs that have:
> > -  # #!/usr/bin/env ruby
> > -  unless windows?
> > +  if windows?
> > +    block "Update batch files to point at embedded ruby" do
> > +      load_gemspec = if Gem::VERSION >= '2'
>
> Should this be using string comparison? I've had bad experiences with that
> before
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/opscode/omnibus-chef/pull/295/files#r20601057>.
>