Bug 49377 - Could not find gem 'test-unit (< 4)', which is required by gem 'net-ping', in locally installed gems.
Summary: Could not find gem 'test-unit (< 4)', which is required by gem 'net-ping', in...
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: foreman (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: majioa@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-12 15:41 MSK by Alexander Makeenkov
Modified: 2024-02-14 12:36 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.