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.
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?
I have installed everything that is relevant and still get this after
running rdoc.
Are you sure that you have *all* relevent packages installed? I haven't personally used Fedora Core since FC1 (and never used Ruby under it), but I'd guess there's a ruby-docs or ruby-ri package you're missing.
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?
I have installed everything that is relevant and still get this after
running rdoc.
Have you run rdoc over the main Ruby lib dir to generate the ri datafile?
run rdoc --help (or whatever gets you a help listing) and see what the magic incantation is for creating the ri files.
···
--
James Britt
"In physics the truth is rarely perfectly clear, and that is certainly
universally the case in human affairs. Hence, what is not surrounded by
uncertainty cannot be the truth."
- R. Feynman
On 6/17/06, Nicholas Evans <OwlManAtt@owlmanatt.com> wrote:
Howdy Mark,
Are you sure that you have *all* relevent packages installed? I haven't
personally used Fedora Core since FC1 (and never used Ruby under it),
but I'd guess there's a ruby-docs or ruby-ri package you're missing.
thanx, I also tried that after somoene pointed it out to me somewhere else.
I eventually ditched the rpm install and went source. All is well now.
Thanx. Cheers.
Mark Sargent.
···
On 6/21/06, John Gabriele <jmg3000@gmail.com> wrote: