Hi Ruby'ers. I'm a newbie trying to set up my Gentoo box with ruby.
I'm pretty much there except for ri.
Gentoo's ruby ebuild doesn't seem to include the rdoc, i.e. it doesn't
run 'make install-doc'. So I tried doing it myself:
$ su -
$ cd /usr/lib/ruby/1.8
$ rdoc --all --ri-system
That seemed to work, but I don't think my docs are complete. For
example, when I type 'ri -T Kernel' now, this is my output:
====> OUTPUT BEGIN
---------------------------------------------------------- Class: Kernel
(no description...)
···
------------------------------------------------------------------------
Instance methods:
-----------------
URI, open
====> OUTPUT END
I would've expected to see class methods like print and scan. What am
I missing?
Thanks,
Jim
Hi Ruby'ers. I'm a newbie trying to set up my Gentoo box with ruby.
I'm pretty much there except for ri.
Gentoo's ruby ebuild doesn't seem to include the rdoc, i.e. it doesn't
run 'make install-doc'. So I tried doing it myself:
$ su -
$ cd /usr/lib/ruby/1.8
$ rdoc --all --ri-system
<snip>
Thanks,
Jim
add doc to your USE flags when you emerge ruby
···
On Mon, 31 Jan 2005 03:10:51 +0900, Jim Crossley <jim@crossleys.org> wrote:
--
Regards,
Jason
http://blog.casey-sweat.us/
Jason Sweat <jason.sweat@gmail.com> writes:
···
On Mon, 31 Jan 2005 03:10:51 +0900, Jim Crossley <jim@crossleys.org> wrote:
Gentoo's ruby ebuild doesn't seem to include the rdoc, i.e. it doesn't
run 'make install-doc'.
add doc to your USE flags when you emerge ruby
That's too simple. 
Worked like a charm. Thanks for the speedy reply.
Jim
No problem.
I like using emerge ruby-cvs to get ruby version 1.9
$ ruby -v
ruby 1.9.0 (2004-11-25) [i686-linux]
You can easily choose between this version and ruby 1.8.2 from the
dev-lang/ruby using
$ ruby-config ruby19
or
$ ruby-config ruby18
HTH
Regards,
Jason
http://blog.casey-sweat.us/
···
On Mon, 31 Jan 2005 04:05:47 +0900, Jim Crossley <jim@crossleys.org> wrote:
Jason Sweat <jason.sweat@gmail.com> writes:
> On Mon, 31 Jan 2005 03:10:51 +0900, Jim Crossley <jim@crossleys.org> wrote:
>>
>> Gentoo's ruby ebuild doesn't seem to include the rdoc, i.e. it doesn't
>> run 'make install-doc'.
>
> add doc to your USE flags when you emerge ruby
That's too simple. 
Worked like a charm. Thanks for the speedy reply.
Jim