I'm now using to read RDoc gem server command. But I want to read document in Emacs.

I found a emacs lisp for it called [yari][1], but it doesn't worked in my environment. I called a function yari and typed in the minibuffer yari: Array, but result was yari: Array[not matched].

I don't insist to use yari, it is ok if I can read rdoc in Emacs. Is there any way that is commonly used?

没有正确的解决方案

其他提示

The most common reason for yari not working is that you probably installed your ruby and its gems without their docs. If you're using RVM you should do this:

rvm docs generate

This worked for me:

gem install rdoc-data
rdoc-data --install
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top