On Sun, 26 Sep 2004 03:14:27 +0900, benny <listen / marcrenearns.de> wrote:
> dear list
> 
> installing of log4r 1.0.5 worked fine with rubygems 0.7 but
> failed with rubygems 0.8.1.
> 
> neither
>   "gem install --remote log4r --no-rdoc "
> nor
>  "gem install log4r"
> 
> does install any log4r.rb
> no error messages except for "gem install log4r":
> 
> Attempting local installation of 'log4r'
> Local gem file not found: log4r*.gem
> Attempting remote installation of 'log4r'
> Successfully installed log4r, version 1.0.5
> Installing RDoc documentation for log4r-1.0.5...
> 
> src/log4r/config.rb:4:0: Unrecognized directive 'nodoc'
> ....
> lots of similar messages
> 
> any idea?
> 

Hi benny,

  How are you checking to see if log4r is installed?  Try this one if
you don't mind:

require 'rubygems'
require 'log4r'
ObjectSpace.each_object(Class) do |k|
   p k if k.to_s =~ /Log/
end

On my system, I see a lot of Log4r classes such as
Log4r::StdoutOutputter and Log4r::FileOutputter.

You could also do (in UNIX):
$ ls `gem env gempath`/gems/

and/or

$ gem search -l log

*** LOCAL GEMS ***

log4r (1.0.5)
    Log4r is a comprehensive and flexible logging library for Ruby.


Thanks,
Chad