Hi All,
firstly, I’m a newb to Ruby and programming in general. I currently
attend a
Ruby study group here in Sydney. Matz, and others, thanx for this great
language. Ok, now to my dilemna. I installed Ruby via yum and had issues
with ri on FC5. I took it to a Fedora list, but no answer after a few
days.
See issue below,
]$ ri array
No ri documentation found in:
Was rdoc run to create documentation?
Installing Documentation
‘ri’ uses a database of documentation built by the RDoc utility.
So, how do you install this documentation on your system? It depends on
how you installed Ruby.
If you installed Ruby from source files (that is, if it some point you
typed ‘make’ during the process :), you can install the RDoc
documentation yourself. Just go back to the place where you have your
Ruby source and type
make install-doc
You’ll probably need to do this as a superuser, as the documentation is
installed in the Ruby target tree (normally somewhere under
+/usr/local+.
If you installed Ruby from a binary distribution (perhaps using a
one-click installer, or using some other packaging system), then the
team that produced the package probably forgot to package the
documentation as well. Contact them, and see if they can add it to the
next release.
I have installed everything that is relevant and still get this after
running rdoc. I am now looking at installing from source, which I have
some
limited experience with, for other apps. Does thre source install
install
everything, including ri and irb? Just wanted to confirm before going
ahead.
I looked at README and README.TXT but found nothing specific. Hope this
is a
relevant request on here. Cheers.
Mark S…