# GEM Question On Error Messages

**URL:** <https://www.ruby-forum.com/t/gem-question-on-error-messages/48903>\
**Category:** Ruby\
**Created:** [November 26, 2005, 5:18pm UTC](https://www.ruby-forum.com/t/gem-question-on-error-messages/48903 "2005-11-26T17:18:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rblove](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f14d63/32.png) [@rblove](https://www.ruby-forum.com/u/rblove)\
**Post date:** [November 26, 2005, 5:18pm UTC](https://www.ruby-forum.com/t/gem-question-on-error-messages/48903/1 "2005-11-26T17:18:34Z")

</div>

Am brand new to Ruby. I use Log4Perl in my perl work and wanted a  
similar capability. I found log4r and some means of packaging callled  
“gem”. When I run the gem installer I get

Installing RDoc documentation for log4r-1.0.5…

src/log4r/base.rb:2:7: Unrecognized directive ‘nodoc’

where the last line seems to be repeated over and over for every item  
being installed. So, was the installation successful? Is it an error  
or a warning? Why, since I’m using freshly fetched “gem” and log4r, do  
I get this mismatch? Is it the gem installer or the log4r package that  
is in error?

Any insight, and assurance that Ruby is ready for production use, is  
appreciated.

---

<div class="post-metadata">

**Author:** ![rblove](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f14d63/32.png) [@rblove](https://www.ruby-forum.com/u/rblove)\
**Post date:** [November 27, 2005, 8:05am UTC](https://www.ruby-forum.com/t/gem-question-on-error-messages/48903/2 "2005-11-27T08:05:48Z")

</div>

> Installing RDoc documentation for log4r-1.0.5…  
> src/log4r/base.rb:2:7: Unrecognized directive ‘nodoc’  
> Code of base.rb

# :nodoc:

require “log4r/config”

## module Log4r

I think, this is warning.

You can fix this:

- download source code of Log4g
- remove first nodoc directive
- rebuild gem
- send patch to author
