class Bundler::EnvironmentPreserver

def self.env_to_hash(env)

def self.env_to_hash(env)
  to_hash = env.to_hash
  return to_hash unless Gem.win_platform?
  to_hash.each_with_object({}) {|(k,v), a| a[k.upcase] = v }
end