Description of problem: If I install ruby I don't get the rubygem-json dependency installed. According to https://stdgems.org the json gem should be a part of a default ruby installation. Version-Release number of selected component (if applicable): ruby-2.4.3-87.fc26.src.rpm How reproducible: Install ruby, start a ruby shell and try to require json. Steps to Reproduce: 1. dnf install ruby -y 2. irb 3. require 'json' Actual results: LoadError: cannot load such file -- json Expected results: True. It should work. Additional info:
Thx for the report. This is interesting issue. Historically, we unbundled json from Ruby into independent package and json was optional package. However, if you install Ruby, it always get installed via transitive dependencies, specifically RDoc depends on it. Unfortunately, while RDoc still depends on json, it seems that RDoc upstream decided to drop the explicit dependency specification and hence it is now missing in the rubygem-rdoc.
rubygem-rdoc-6.0.3-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-06bc836386
rubygem-rdoc-5.1.0-3.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d5e9118e82
rubygem-rdoc-5.1.0-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-49c0409931
rubygem-rdoc-5.1.0-3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-49c0409931
rubygem-rdoc-5.1.0-3.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-d5e9118e82
rubygem-rdoc-6.0.3-2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-06bc836386
Description of problem: rdoc not found while on system when called from command line rubygem-rdoc-5.1.0-3.fc27 How reproducible: Every time Steps to Reproduce: 1. Check that rdoc is installed 2. type `rdoc --help` in command line 3. Actual results: /usr/share/rubygems/rubygems.rb:271:in `find_spec_for_exe': can't find gem rdoc (>= 0.a) (Gem::GemNotFoundException) [lroca@localhost ~]$ from /usr/share/rubygems/rubygems.rb:299:in `activate_bin_path' Expected results: Produce Help docs Additional info: x86_64
rubygem-rdoc-6.0.3-2.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
(In reply to Luis from comment #8) I am not able to reproduce with "rdoc --help". What are the steps to reproduce?
(In reply to Vít Ondruch from comment #10) > (In reply to Luis from comment #8) > I am not able to reproduce with "rdoc --help". What are the steps to > reproduce? In f27, launch terminal, enter `rdoc --help`. Result: "Can't find gem rdoc".
I am doing this: ~~~ $ mock -r fedora-27-x86_64 --scrub all $ mock -r fedora-27-x86_64 -i https://kojipkgs.fedoraproject.org//packages/rubygem-rdoc/5.1.0/3.fc27/noarch/rubygem-rdoc-5.1.0-3.fc27.noarch.rpm $ mock -r fedora-27-x86_64 shell --unpriv $ rdoc --help ~~~ And this works just fine. Must be something on your system. Could you please provide "gem list" output? Or executing the rdoc command like this "RUBYOPT=-d rdoc --help" could give us some hint.
It was my use of RVM which I have since `imploded` and removed all traces. `rdoc -help` now works as expected.
Glad it worked for you. Thx for feedback.
rubygem-rdoc-5.1.0-3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
rubygem-rdoc-5.1.0-3.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.