# Keeping up with Ruby?

**URL:** <https://www.ruby-forum.com/t/keeping-up-with-ruby/54052>\
**Category:** Ruby\
**Created:** [February 21, 2006, 6:51pm UTC](https://www.ruby-forum.com/t/keeping-up-with-ruby/54052 "2006-02-21T18:51:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_NSAlegre](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e19b73/32.png) [@John\_NSAlegre](https://www.ruby-forum.com/u/John_NSAlegre)\
**Post date:** [February 21, 2006, 6:51pm UTC](https://www.ruby-forum.com/t/keeping-up-with-ruby/54052/1 "2006-02-21T18:51:17Z")

</div>

Is there a way to find what extensions / libraries of Ruby code are  
installed in any given Ruby installation and the location of their  
respective Ruby Code. I am having trouble with a systematic method  
produce  
RDoc documentation for those libraries / extensions that I have  
installed.  
After all I cant use em without the docs.

An extension to this is where are the std library / core Rdocs kept or  
do I  
have to make these too?

All comments welcome  
john

---

<div class="post-metadata">

**Author:** ![John\_NSAlegre](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e19b73/32.png) [@John\_NSAlegre](https://www.ruby-forum.com/u/John_NSAlegre)\
**Post date:** [February 21, 2006, 7:40pm UTC](https://www.ruby-forum.com/t/keeping-up-with-ruby/54052/2 "2006-02-21T19:40:24Z")

</div>

On 2/21/06, John N. Alegre [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Is there a way to find what extensions / libraries of Ruby code are  
> installed in any given Ruby installation and the location of their  
> respective Ruby Code. I am having trouble with a systematic method produce  
> RDoc documentation for those libraries / extensions that I have installed.  
> After all I cant use em without the docs.

For extensions that were installed as gems,  
“gem list” will give you a list of the gems you’ve installed.  
“gem contents {gem-name}” will give you a list of all the files that  
were installed for a given gem, including their location.

For extensions that were not installed as gems,  
I believe you’ll find their source under RUBY\_HOME/lib/ruby/site\_ruby.

> An extension to this is where are the std library / core Rdocs kept or do I  
> have to make these too?

To view RDocs for gems,  
run “gem\_server”  
browse [http://localhost:8808](http://localhost:8808)

If documentation for some of your installed gems is missing, you can  
regenerate RDoc for all of them with “gem rdoc --all” or generated  
RDoc for a specific gem with “gem rdoc {gem-name}”.

---

<div class="post-metadata">

**Author:** ![John\_NSAlegre](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e19b73/32.png) [@John\_NSAlegre](https://www.ruby-forum.com/u/John_NSAlegre)\
**Post date:** [February 22, 2006, 3:41pm UTC](https://www.ruby-forum.com/t/keeping-up-with-ruby/54052/3 "2006-02-22T15:41:09Z")

</div>

Mark V. wrote:

> On 2/21/06, John N. Alegre [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Is there a way to find what extensions / libraries of Ruby code are  
> > installed in any given Ruby installation and the location of their  
> > respective Ruby Code. I am having trouble with a systematic method  
> > produce RDoc documentation for those libraries / extensions that I have  
> > installed

Did you want to say something here?
