This is causing confusions. There is a rubygem-rdoc (4.3.0) in the ports but it's not depended by ruby or ruby-gem, however, ruby installs a newer version of rdoc (5.0.0), but gem cannot see it. vagrant@freebsd:~ % sudo pkg install ruby [1/1] Installing ruby-2.4.4,1... [1/1] Extracting ruby-2.4.4,1: 100% vagrant@freebsd:~ % rdoc --version 5.0.0 vagrant@freebsd:~ % sudo pkg install ruby24-gems [1/1] Installing ruby24-gems-2.7.6... [1/1] Extracting ruby24-gems-2.7.6: 100% vagrant@freebsd:~ % gem list *** LOCAL GEMS *** vagrant@freebsd:~ % sudo pkg install rubygem-rdoc [1/1] Installing rubygem-rdoc-4.3.0_1... [1/1] Extracting rubygem-rdoc-4.3.0_1: 100% vagrant@freebsd:~ % gem list *** LOCAL GEMS *** rdoc (4.3.0) vagrant@freebsd:~ % rdoc --version 4.3.0
For me it works fine: gem list |grep rdoc rdoc (6.0.4) pkg info |grep rdoc rubygem-rdoc-6.0.4 RDoc produces HTML and command-line documentation for Ruby projects rubygem-sdoc-1.0.0 Create rdoc html with javascript search index pkg info |grep ruby- ruby-2.4.4,1 Object-oriented interpreted scripting language
(In reply to Matthias Fechner from comment #1) I am saying that, without rubygem-rdoc being installed, lang/ruby comes with a rdoc 5.0.0 but cannot be seen by gem, and once rubygem-rdoc is installed, that rdoc will be rewritten. Also, it seems that rubygem-rdoc 6.0.4 just got committed and the package is not yet ready :) http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/
We have version 6.1.2. Is this still relevant or can we close here.
Ruby 2.4 expired today, is this problem relevant to 2.5 or higher too?
I can no longer reproduce this issue, closing the PR.