简体   繁体   English

尽管存在rvm文档(“ rvm docs open”有效),但ri仍会产生“关于……的信息”

[英]ri yields “Nothing known about…” though rvm docs exist ('rvm docs open' works)

I've installed Ruby. 我已经安装了Ruby。 I've generated the rvm docs (with $ rvm docs generate ). 我已经生成了rvm docs(使用$ rvm docs generate )。 I've closed terminal and re-opened it. 我关闭了终端,然后重新打开。

When I enter this: $ ri GC I get this: "Nothing known about GC" 当我输入以下内容时:$ ri GC我得到以下信息:“ GC未知”

If I enter this: $ rvm docs open It does open the docs on my local drive. 如果输入以下内容:$ rvm docs open它将打开本地驱动器上的文档。 ...and I can search for "GC" and see it's page. ...然后我可以搜索“ GC”并查看其页面。 file://localhost/Users/mynamehere/.rvm/docs/ruby-2.0.0-p247/rdoc/GC.html 文件:// localhost / Users / myname此处/.rvm/docs/ruby-2.0.0-p247/rdoc/GC.html

I just can't get the terminal command to produce anything, for any methods. 我只是无法用Terminal命令为任何方法产生任何东西。 Any idea why? 知道为什么吗?

start with: 从...开始:

rvm reinstall ruby-2.0.0-p247 --disable-binary
rvm use ruby-2.0.0-p247
rvm docs generate
ri GC

the initial problem will be handled with https://github.com/wayneeseguin/rvm/issues/2118 (thx @a7d7p) 最初的问题将通过https://github.com/wayneeseguin/rvm/issues/2118(thx @ a7d7p)处理

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM