class Bundler::Retry

def run(&block)

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