<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>59855</bug_id>
          
          <creation_ts>2026-07-17 15:41:33 +0300</creation_ts>
          <short_desc>Ошибка Could not find gem &apos;wirb (&gt;= 1.0, &lt; 3.0)&apos; при установке foreman-3.18.1-alt1</short_desc>
          <delta_ts>2026-07-29 01:03:25 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>foreman</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Makeenkov">amakeenk</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>admsasha</cc>
    
    <cc>cas</cc>
    
    <cc>majioa</cc>
    
    <cc>mike</cc>
    
    <cc>nbr</cc>
    
    <cc>pav</cc>
    
    <cc>placeholder</cc>
    
    <cc>rider</cc>
    
    <cc>thatman</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>291241</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2026-07-17 15:41:33 +0300</bug_when>
    <thetext>Версии пакетов:
# rpm -q foreman deploy
foreman-3.18.1-alt1.noarch
deploy-0.5.0-alt1.noarch

Запустить настройку foreman:
# deploy foreman

В процессе настройки через railsctl будет ошибка:
Подготовить экземпляр Foreman...
  localhost done | stdout: Work dir is &apos;/var/lib/foreman&apos;
Processing rails application &apos;foreman&apos; setup...
Applying variables from &apos;/etc/sysconfig/foreman&apos;
Renewing dependencies...
Error code is: 3
Ошибка подготовки

В логах:
# cat /var/log/foreman/bundle.log
[DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set without &apos;development test&apos;`, and stop using this flag
[DEPRECATED] This Gemfile does not include an explicit global source. Not using an explicit global source may result in a different lockfile being generated depending on the gems you have installed locally before bundler is run. Instead, define a global source in your Gemfile like this: source &quot;https://rubygems.org&quot;.
Could not find gem &apos;wirb (&gt;= 1.0, &lt; 3.0)&apos; in locally installed gems.

The source contains the following gems matching &apos;wirb&apos;:
  * wirb-3.0.0
[DEPRECATED] This Gemfile does not include an explicit global source. Not using an explicit global source may result in a different lockfile being generated depending on the gems you have installed locally before bundler is run. Instead, define a global source in your Gemfile like this: source &quot;https://rubygems.org&quot;.
Could not find gem &apos;wirb (&gt;= 1.0, &lt; 3.0)&apos; in locally installed gems.

The source contains the following gems matching &apos;wirb&apos;:
  * wirb-3.0.0

Пакет gem-wirb установлен, но не ожидаемой версии:
# rpm -qi gem-wirb
Name        : gem-wirb
Version     : 3.0.0
Release     : alt1
DistTag     : sisyphus+418869.1700.4.1
Architecture: noarch
Install Date: Пт 17 июл 2026 15:22:17
Group       : Development/Ruby
Size        : 84459
License     : MIT
Signature   : RSA/SHA512, Пт 22 мая 2026 19:41:37, Key ID ff979dedda2773bb
Source RPM  : gem-wirb-3.0.0-alt1.src.rpm
Build Date  : Пт 22 мая 2026 19:41:36
Build Host  : majioa-sisyphus.hasher.altlinux.org</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>291909</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-07-29 01:03:25 +0300</bug_when>
    <thetext>foreman-3.19.1-alt1 -&gt; sisyphus:

Thu Jul 23 2026 Pavel Skrylev &lt;majioa@altlinux&gt; 3.19.1-alt1
- ^ 3.18.1 -&gt; 3.19.1
- * required wirb ~&gt; 3 (closes #59855)
- ! fixed to build renderer on the user page (from pav@)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>