eval(string, nil, path.to_s)
    # rubocop:enable Security/Eval

    # rubocop:disable Lint/RescueException
  rescue Exception => e