Anybody else having this problem with ri? This happened after I overwrote my
previous ruby 1.9.1p0 build from SVN using
  autoconf && ./configure --program-suffix=19 && make && sudo make install

Now ri19 can't find any documentation (see below).

I also tried
  rm -rf /usr/local/share/ri/1.9.1 /usr/local/lib/ruby19
  make install
  make install-doc
again, but no difference.

"ri19 --list-doc-dirs" gives an empty response; I can get it to work using,
say,

  ri19 -d /usr/local/share/ri/1.9.1 String

Any suggestions as to how to fix this properly?

Regards,

Brian.

$ ruby19 -v
ruby 1.9.2dev (2009-04-07 trunk 23150) [i686-linux]

$ ri19
Updating class cache with 0 classes...
No ri data found

If you've installed Ruby yourself, you need to generate documentation using:

  make install-doc

from the same place you ran `make` to build ruby.

If you installed Ruby from a packaging system, then you may need to
install an additional package, or ask the packager to enable ri generation.

$ sudo make install-doc
Generating RDoc documentation
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb  ./runruby.rb
--extout=.ext  -- "./bin/rdoc" --all --ri --op ".ext/rdoc" "."

No newer files.

Files:   0
Classes: 0
Modules: 0
Methods: 0
Elapsed: 2.4s
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb  ./instruby.rb
--make="make" --dest-dir="" --extout=".ext" --mflags="" --make-flags=""
--data-mode=0644 --prog-mode=0755 --installed-list .installed.list
--install=rdoc --rdoc-output=".ext/rdoc"
installing rdoc:              /usr/local/share/ri/1.9.1/system

$ ri19
Updating class cache with 0 classes...
No ri data found

If you've installed Ruby yourself, you need to generate documentation using:

  make install-doc

from the same place you ran `make` to build ruby.

If you installed Ruby from a packaging system, then you may need to
install an additional package, or ask the packager to enable ri generation.

$ ri19 --list-doc-dirs

$ ri19 --system --list-doc-dirs