class Bundler::Retry

def run(&block)

def run(&block)
  @failed = false
  @current_run += 1
  @result = block.call
rescue StandardError => e
  fail_attempt(e)
end