def change_rpath(old_path, new_path, _options = {})
      old_lc = command(:LC_RPATH).find { |r| r.path.to_s == old_path }
      raise RpathUnknownError, old_path if old_lc.nil?
      raise RpathExistsError, new_path if rpaths.include?(new_path)

      new_lc = LoadCommands::LoadCommand.create(:LC_RPATH, new_path)

      delete_rpath(old_path)
      insert_command(old_lc.view.offset, new_lc)
    end
def change_rpath(old_path, new_path, _options = {})
      old_lc = command(:LC_RPATH).find { |r| r.path.to_s == old_path }
      raise RpathUnknownError, old_path if old_lc.nil?
      raise RpathExistsError, new_path if rpaths.include?(new_path)

      new_lc = LoadCommands::LoadCommand.create(:LC_RPATH, new_path)

      delete_rpath(old_path)
      insert_command(old_lc.view.offset, new_lc)
    end
Changes the runtime path `old_path` to `new_path`
 @example
  file.change_rpath("/usr/lib", "/usr/local/lib")
 @param old_path [String] the old runtime path
 @param new_path [String] the new runtime path
 @param _options [Hash]
 @return [void]
 @raise [RpathUnknownError] if no such old runtime path exists
 @raise [RpathExistsError] if the new runtime path already exists
 @note `_options` is currently unused and is provided for signature
  compatibility with {MachO::FatFile#change_rpath}