How do I install the Ruby ri documentation?

前端 未结 8 1434
既然无缘
既然无缘 2020-12-05 02:56

I\'ve recently installed Ruby 1.9.1 on Windows 7, and apparently it doesn\'t come with the standard ri documentation. So when I do \'ri Array\', I get:

C:\\         


        
8条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-05 03:18

    If you are using rvm you should rvm docs generate (or just rvm docs generate-ri)

    See this info (2011August) about rvm and ri

提交回复
热议问题