From: I did not Date: 2004-10-14T05:44:34+09:00 Subject: Re: Installation from source (unclear instructions) On Thu, 14 Oct 2004 04:29:00 +0900, Ben Giddings wrote: > I did not wrote: >> basil ruby-1.8.2 $ emerge -p ruby >> >> These are the packages that I would merge, in order: >> >> Calculating dependencies ...done! >> [ebuild R ] dev-lang/ruby-1.8.2_pre2 >> >> basil ruby-1.8.2 $ ri -v >> ri: beta1 (1.2.2.8 2004/04/02) >> >> >> I thought ri had been included in the ruby distribution. >> Maybe you should remove your ri package and possibly emerge ruby again? > > root@nightcrawler# qpkg -l ruby |grep '/bin/' > /usr/bin/ruby18 > /usr/bin/erb18 > /usr/bin/irb18 > /usr/bin/rdoc18 > /usr/bin/ri18 > /usr/bin/testrb18 > > It did seem to create the documentation when I added the 'doc' USE flag, > but didn't install any 'ri' that I can see. > > But even if I can get it to work on Gentoo, I'm curious about how it > should work when working from source. ls -ls /usr/bin/ri 0 lrwxrwxrwx 1 root root 4 Sep 1 12:03 /usr/bin/ri -> ri18 IIRC, the link is created by ruby-config which allows ruby16, ruby18 and ruby19 to be installed on the same box. Can you try to # emerge ruby-config and run # ruby-config ruby18 That should solve your problem. Hth