[#23231] What do you think about changing the return value of Kernel#require and Kernel#load to the source encoding of the required file? — =?ISO-8859-15?Q?Wolfgang_N=E1dasi-Donner?= <ed.odanow@...>

Dear Ruby developers and users!

8 messages 2009/04/17

[#23318] [Feature #1408] 0.1.to_r not equal to (1/10) — Heesob Park <redmine@...>

Feature #1408: 0.1.to_r not equal to (1/10)

19 messages 2009/04/26

[ruby-core:23159] Problem with ri after updating

From: Brian Candler <B.Candler@...>
Date: 2009-04-08 11:19:35 UTC
List: ruby-core #23159
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


In This Thread

Prev Next