def delete_rpath(path, _options = {})
      rpath_cmds = command(:LC_RPATH).select { |r| r.path.to_s == path }
      raise RpathUnknownError, path if rpath_cmds.empty?

      # delete the commands in reverse order, offset descending. this
      # allows us to defer (expensive) field population until the very end
      rpath_cmds.reverse_each { |cmd| delete_command(cmd, :repopulate => false) }

      populate_fields
    end
def delete_rpath(path, _options = {})
      rpath_cmds = command(:LC_RPATH).select { |r| r.path.to_s == path }
      raise RpathUnknownError, path if rpath_cmds.empty?

      # delete the commands in reverse order, offset descending. this
      # allows us to defer (expensive) field population until the very end
      rpath_cmds.reverse_each { |cmd| delete_command(cmd, :repopulate => false) }

      populate_fields
    end
Delete the given runtime path from the Mach-O.
 @example
  file.rpaths # => ["/lib"]
  file.delete_rpath("/lib")
  file.rpaths # => []
 @param path [String] the runtime path to delete
 @param _options [Hash]
 @return void
 @raise [RpathUnknownError] if no such runtime path exists
 @note `_options` is currently unused and is provided for signature
  compatibility with {MachO::FatFile#delete_rpath}