# methods used in gem installation hooks module Zerg::Support::Gems # called by ensure_on_path for Windows systems def self.ensure_on_windows_path(bin_file) bat_file = File.expand_path(File.join(ENV["WINDIR"], File.basename(bin_file) + ".bat")) begin File.open(bat_file, 'w') do |f| f.write <