    # File lib/rubygems/installer.rb, line 219
      def generate_windows_script(bindir, filename)
        if Gem.win_platform? then
          script_name = filename + ".bat"
          script_path = File.join bindir, File.basename(script_name)
          File.open script_path, 'w' do |file|
            file.puts windows_stub_script(bindir, filename)
          end

          say script_path if Gem.configuration.really_verbose
        end
      end