How do I install the Ruby ri documentation?

前端 未结 8 1428
既然无缘
既然无缘 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:39

    Seems you have installer Ruby 1.9.1 distributed by the RubyInstaller project.

    You can use the Windows Help Files (CHM) that came with the installer instead of the ri documentation.

    The problem of the RI documentation is that some versions of RDoc have problems generating it and also generated more than 10 thousands files which slowed down the installers considerably.

提交回复
热议问题