2

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?

ironsand
  • 14,329
  • 17
  • 83
  • 176

2 Answers2

0

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
Bozhidar Batsov
  • 55,802
  • 13
  • 100
  • 117
  • I think I've already installed RDoc correctly. I can see rdoc by using `gem server` and to be sure I've reinstalled all rdocs by `gem rdoc --all --ri`. – ironsand Dec 08 '13 at 21:34
0

This worked for me:

gem install rdoc-data
rdoc-data --install
Jonathan Arkell
  • 10,526
  • 2
  • 24
  • 32