@Canapin 네! 모든 것을 정상적으로 작동하게 만들었습니다. 최종적으로 plugin.rb 파일이 이렇게 생겼습니다. 결국 파일의 커스텀 버전을 넣는 경로에 문제가 있었던 것이었습니다.
결국 파일을 /custom_views/embed/comments.html.erb 폴더에 넣었습니다.
# frozen_string_literal: true
# name: optuma_discourse_custom_embed
# about: 포럼 임베드의 템플릿을 커스터마이징하는 데 사용되는 간단한 플러그인
# version: 1.0.0
# authors: Optuma Pty Ltd
# url: https://github.com/OptDev/optuma-discourse-custom-embed
# required_version: 2.7.0
after_initialize do
::EmbedController.prepend_view_path File.expand_path("../custom_views", __FILE__)
end