Helping ri find rdoc

Hi,

So I noticed that documentation for ri seems to be stored in yaml files
in
subdirectories of my opt/local/share/ri/1.8/system folder. And not in
usr/local/bin or usr/bin with my tools.

I always see rdoc generating help files for my gems as they install. But
whenever I ri (e.g., ri “Something”), I get “nothing known about
#{Something}”. Even for Array and String, I get “nothing.”

Is there an environment variable for the ri path? What should it be? Or
am I
just missing something?

TIA,
Steve

Stephen S. wrote:

Is there an environment variable for the ri path? What should it be? Or
am I
just missing something?

TIA,
Steve

Steve,

ri --doc-dir /opt/local/share/ri/1.8/system Array

This option can be specified multiple times. Perhaps you want to set an
alias.

Dan