[Uw-ruby] ri problems locating database

Brent A. LaMotte brent at lbbl.org
Fri Oct 12 07:58:04 PDT 2007


Steve -

If you're running OS X - you can get the documentation as a d/l here:

http://rubyosx.rubyforge.org/ (bottom right)

B


On Oct 10, 2007, at 9:45 PM, Steve Dame wrote:

> Does anyone have a problem with ri on their mac?
>
> Here's what I get with ri each for example.
>
>
> % ri each
> 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.
>
>
> Since Ruby was already on my system, I never ran any of this stuff and
> am not exactly sure where the source is located.  Also, I don't have
> make on my machine yet... I don't think.
>
> -- 
> Stephen Dame
> Virtual DSP Corporation
> 4119 125th St SE
> Everett, WA 98208
> Tel 425.379.8888
> Fax 425.357.0567
> http://www.virtual-dsp.com
>
> _______________________________________________
> Uw-ruby mailing list
> Uw-ruby at zenspider.com
> http://www.zenspider.com/mailman/listinfo/uw-ruby



More information about the Uw-ruby mailing list