Bug 49377

Summary: Could not find gem 'test-unit (< 4)', which is required by gem 'net-ping', in locally installed gems.
Product: Sisyphus Reporter: Alexander Makeenkov <amakeenk>
Component: foremanAssignee: majioa <majioa>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: majioa, pav
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Alexander Makeenkov 2024-02-12 15:41:31 MSK
Настройка согласно https://www.altlinux.org/Foreman

# apt-get install postgresql15-server
# /etc/init.d/postgresql initdb
# systemctl start postgresql
# apt-get install foreman puppet-theforeman-foreman puppet-theforeman-puppetserver-foreman
# apt-get dist-upgrade
# railsctl setup foreman || echo "Ошибка подготовки"

Результат:
Renewing dependencies...
Error code is: 3
Ошибка подготовки

В логах /var/log/foreman/bundle.log ошибка:
Could not find gem 'test-unit (< 4)', which is required by gem 'net-ping', in locally installed gems.

Проблему решает предварительная установка пакета gem-test-unit.
Comment 1 pav@altlinux.org 2024-02-14 12:36:03 MSK
Решено обновлением пакета gem-net-ping.