[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: helping ri find rdoc

Dan Zwell

4/29/2007 6:18:00 PM

Stephen Smith wrote:
> 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
>

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