You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@4r2r I am going to change the title of this issue a bit. I believe both rdoc and ri work fine but there are several issues:
we do not ship pre-generated rdoc data as part of distribution
Even if we did Array would not be included because rdoc cannot parse Java source files to extract documentation out of our native implementation (this is where Array comes from in MRI but from parsing C source)
We don't actually embed that documentation in our source.
So this is a valid issue but it underscores some other problems we have with providing a good 'ri' experience from our dist.
Steps to reproduce
tar -xf jruby-dist-9.1.15.0-bin.tar.gz
mv jruby-9.1.15.0 $HOME
PATH=$PATH:$HOME/jruby-9.1.15.0/bin
which ri # /home/me/jruby-9.1.15.0/bin/ri
ri Array # Nothing known about Array
⇐ ‼ri --list-doc-dirs # /home/me/jruby-9.1.15.0/share/ri/2.3.0/system:/home/me/jruby-9.1.15.0/share/ri/2.3.0/site:/home/me/.rdoc
find /home/me/jruby-9.1.15.0/share/ri/2.3.0/system # No such file or directory
find /home/me/jruby-9.1.15.0/share/ri/2.3.0/site # No such file or directory
find /home/me/.rdoc # No such file or directory
Environment
jruby -v # jruby 9.1.15.0 (2.3.3) 2017-12-07 929fde8 OpenJDK 64-Bit Server VM 9.0.1+11-Debian-1 on 9.0.1+11-Debian-1 +jit [linux-x86_64]
uname -a # Linux debian 4.14.0-3-amd64 #1 SMP Debian 4.14.12-2 (2018-01-06) x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: