Created attachment 1304672 [details] sample outputs from ri String Description of problem: The 'ri' command of the standard Ruby distribution fails, saying it is not possible to find documentation data. The standard Ruby distribution has been installed using dnf. The problem is to be found in the ruby-doc sub package: documentation data is installed in the /usr/share/ri/system root folder, while it should be installed in /usr/share/ri/${RUBY_VERSION}/system root folder. The ruby-doc SPECFILE should be modified accordingly in order to fix this issue. Version-Release number of selected component (if applicable): [fgiancane8@saturno ~]$ dnf info ruby-doc Ultima verifica della scadenza dei metadati: 11:29:52 fa il mer 26 lug 2017 00:04:47 CEST. Pacchetti installati Nome : ruby-doc Versione : 2.4.1 Rilascio : 79.fc26 Arch : noarch Dim. : 24 M Sorgente : ruby-2.4.1-79.fc26.src.rpm Repo : @System Dal repo : fedora Sommario : Documentation for ruby URL : http://ruby-lang.org/ Licenza : (Ruby or BSD) and Public Domain and MIT and CC0 and zlib and UCD Descrizione : This package contains documentation for ruby. How reproducible: Always reproducible Steps to Reproduce: 1. Install standard Ruby distribution (sudo dnf install rubygems ruby ruby-doc 2. Ask for documentation (e.g. ri String), verifying that nothing is found (see attachment) 3. Use the 'ri --list-doc-dirs' to verify the documentation search path. 4. Verify that the system entry of the previous command does not exist. 5. As a workaround, it is possible to create a dummy folder in /usr/share/ri, containing a symlink to the ruby-doc content, to replicate this structure: /usr/share/ri/system /usr/share/ri/2.4.0/system -> ../system In this way ri happily finds all the documentation required (and installed). Actual results: ri cannot find any standard documentation installed in the search path, even if available. Expected results: ri should find and report installed documentation in the search path as available. Additional info: The example output of 'ri String' command is redirected onto the files attached. Failing.log is when ri does not find any doc, success.log is when it is found, just after creating the dummy folder with the symbolic link.
Created attachment 1304674 [details] tar of files failing.log and success.log
*** This bug has been marked as a duplicate of bug 1458131 ***