오늘 아침에 실수로 launcher restart 대신 launcher rebuild를 실행했습니다. test-passed 대신 특정 태그인 v3.2.1을 사용하고 있으므로 큰 문제가 되지 않을 줄 알았는데, 어제 푸시된 변경 사항으로 인해 루비(Ruby) 버전이 상향 조정되면서 빌드가 실패하는 것으로 나타났습니다.
이로 인해 안정판(stable) 버전 설치 환경이 깨집니다. 즉, -beta 버전을 설치해야 하거나, v3.2.1은 여전히 이전 루비 버전을 사용 중이므로 설치에 실패하게 됩니다.
I, [2024-05-20T08:53:18.602308 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4'
google-protobuf-3.25.2-x86_64-linux requires ruby version < 3.3.dev, >= 2.7,
which is incompatible with the current version, 3.3.1
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4' failed with return #<Process::Status: pid 1276 exit 5>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle config --local deployment true'", "su discourse -c 'bundle config --local without \"development test\"'", "su discourse -c 'bundle install --retry 3 --jobs 4'"]}
bootstrap failed with exit code 5
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
discourse_docker는 매우 중요한 플러그인인 만큼 태그가 있는지 확인해 보았는데, 놀랍게도 태그가 하나도 없습니다. 메인 브랜치에 변경 사항을 푸시할 때 좀 더 신중해 주시길 부탁드립니다.