class Bundler::Installer

def logger

def logger
  # Create a debug installation log limited to 1MB
  @logger ||= begin
    require 'logger'
    Bundler.app_config_path.mkpath
    Logger.new(Bundler.app_config_path.join("install.log"), 1, 1048576)
  end
end