colbygk / log4r

Log4r is a comprehensive and flexible logging library for use in Ruby programs. It features a heirarchical logging system of any number of levels, custom level names, multiple output destinations per log event, custom formatting, and more.
Other
251 stars 88 forks source link

Can't run examples in 1.1.11 #50

Open MatthewRalston opened 8 years ago

MatthewRalston commented 8 years ago
>rvm use 2.1.5@log4rtest
>gem list
*** LOCAL GEMS ***

bigdecimal (1.2.4)
bundle (0.0.1)
bundler (1.12.3)
bundler-unload (1.0.2)
executable-hooks (1.3.2)
io-console (0.4.2)
json (1.8.1)
minitest (4.7.5)
psych (2.0.5)
rake (10.1.0, 0.8.7)
rdoc (4.1.0)
rubygems-bundler (1.4.4)
test-unit (2.1.5.0)
>cd examples
>ruby simpleconfig.rb
/scratch/ralstonm/log4r/lib/log4r/staticlogger.rb:5:in `root': uninitialized constant Log4r::Logger::RootLogger (NameError)
        from simpleconfig.rb:12:in `<main>'
outofthebox.rb:5:in `initialize': wrong number of arguments (1 for 0) (ArgumentError)
        from outofthebox.rb:5:in `new'
        from outofthebox.rb:5:in `<main>'