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

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

    <bug>
          <bug_id>56231</bug_id>
          
          <creation_ts>2025-10-01 15:43:11 +0300</creation_ts>
          <short_desc>ruby добавляет несуществующий каталог ~/.gemie/bin в $PATH</short_desc>
          <delta_ts>2026-03-11 16:11:48 +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>ruby</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=49375</see_also>
          <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="majioa@altlinux.org">majioa</assigned_to>
          <cc>3aHyga</cc>
    
    <cc>admsasha</cc>
    
    <cc>cas</cc>
    
    <cc>majioa</cc>
    
    <cc>mike</cc>
    
    <cc>nbr</cc>
    
    <cc>pav</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>273666</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2025-10-01 15:43:11 +0300</bug_when>
    <thetext>ruby-3.3.8-alt1

# apt-get install ruby &amp;&amp; su - test

$ echo $PATH
/home/test/.gemie/bin:/home/test/bin:/usr/bin:/bin:/usr/local/bin:/usr/games

$ l ~/.gemie/bin
ls: невозможно получить доступ к &apos;/home/test/.gemie/bin&apos;: Нет такого файла или каталога

Правильный путь:

$ l ~/.gemie/gemie/bin
итого 56</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>273672</commentid>
    <comment_count>1</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2025-10-01 15:57:27 +0300</bug_when>
    <thetext>Последствия:

$ rvm list
Warning! PATH is not properly set up, /home/test/.gemie/gemie/bin is not available.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>273679</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2025-10-01 16:29:22 +0300</bug_when>
    <thetext>В р11 на версии ruby-3.1.4-alt4.4.x86_64:

$ echo $PATH
/var/cache/ruby/gemie/bin:/home/test/bin:/usr/bin:/bin:/usr/local/bin:/usr/games

$ l /var/cache/ruby/gemie/bin
ls: невозможно получить доступ к &apos;/var/cache/ruby/gemie/bin&apos;: Нет такого файла или каталога (см. https://bugzilla.altlinux.org/49375)

Однако rvm&apos;у это не мешает:

$ rvm list

# No rvm rubies installed yet. Try &apos;rvm help install&apos;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>