컨테이너에 들어가서 아래 명령을 실행하여 문제를 해결했습니다:
bundle install --with migrations
문제는 rake ai:embeddings:backfill rake 태스크가 다음을 수행한다는 것입니다:
Parallel.each(topics.all, in_processes: args[:concurrency].to_i, progress: "Topics") do |t|
ActiveRecord::Base.connection_pool.with_connection do
vector_rep.generate_representation_from(t)
end
end
이 코드에는 ruby-progressbar가 로드되어야 하지만, Gemfile의 migrations 그룹에 포함되어 있어 무시되고 있습니다.