how to ri-rdoc for Ruby on suse

 
Thread Tools Search this Thread
Operating Systems Linux SuSE how to ri-rdoc for Ruby on suse
# 1  
Old 10-27-2009
Error how to ri-rdoc for Ruby on suse

Hello guys,

This is suse SLES 9.2.

I want to get ri working for all users on this system. I used

Code:
gem rdoc --all --ri

to generate documentation and it went on doing it successfully.

Then I tried

Code:
ri Array

It shows following message :
Code:
Nothing known about Array

Therefore I ran "rdoc --ri" as that user and after a long time it generated the documentation and this time "ri Array" did show some result (Same as when you do "man <command>"

but this works only for that user and for other users they always get Nothing known about array.

Is there anyway to generate documentation which would be globally accessible using ri command?

I don't use ruby or gems much, so any help in this matter is really appreciated.

ThanksSmilie
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question