Where does ri look for its docs? ri -help says "the standard rdoc/ri
directories".
Is there a way (preferably some path-based environment variable) to make ri
also look at gems-based docs?
ri --help mentions "--doc-dir", and the 'RI' env variable, but what should
be set to what?
Am Donnerstag, 16. Dezember 2004 23:17 schrieb itsme213:
Where does ri look for its docs? ri -help says "the standard rdoc/ri
directories".
Is there a way (preferably some path-based environment variable) to make ri
also look at gems-based docs?
ri --help mentions "--doc-dir", and the 'RI' env variable, but what should
be set to what?
Am Donnerstag, 16. Dezember 2004 23:17 schrieb itsme213:
Where does ri look for its docs? ri -help says "the standard rdoc/ri
directories".
Is there a way (preferably some path-based environment variable) to make ri
also look at gems-based docs?
ri --help mentions "--doc-dir", and the 'RI' env variable, but what should
be set to what?
Thanks!
It's $HOME/.rdoc on my machine.
But will ri find any ri data files in the gems directory?
where datadir is defined by the Ruby configuration.
But will ri find any ri data files in the gems directory?
No, because it doesn't know about them. You might have 50 Gems installed, some with multiple versions.
The Gems and RPA folks were supposed to be coming up with some j=kind of joint standard to allow ri to find these additional directories, but that seems to have gone quiet.