开发者

Installing Standard Ruby Classes Documentation with rdoc3

开发者 https://www.devze.com 2023-02-01 00:58 出处:网络
What is the correct procedure to have the standard Ruby class documentation available via the \"ri\" system?I know about the rdoc-data gem, but is that still a开发者_JAVA百科ppropriate for the rdoc3 (

What is the correct procedure to have the standard Ruby class documentation available via the "ri" system? I know about the rdoc-data gem, but is that still a开发者_JAVA百科ppropriate for the rdoc3 (3.0.1) gem?

Ruby 1.8.7/Linux (OS) specific if possible.

Thank you.


I ended up installing the rdoc-data gem and ran:

rdoc-data --install

(after creating /usr/share/ri) and it all seems to work. It would be nice if there was a way to install the documentation to somewhere other than /usr/share/ri but at least the docs are available.

0

精彩评论

暂无评论...
验证码 换一张
取 消